account.ts 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. import { AccountListItem } from '@/services/dataCenter/interafce/account';
  2. import { Marketrun } from '@/services/go/commonMarket/interface';
  3. import { Loginaccount, Useraccount, Userinfo } from '@/services/go/useInfo/interface';
  4. /**
  5. * 用户信息模型类
  6. */
  7. export class UserInfoModel implements Userinfo {
  8. address = '';
  9. attachment1 = '';
  10. attachment2 = '';
  11. bankaccount = '';
  12. bankaccountname = '';
  13. bankcardfrontphotourl = '';
  14. bankid = '';
  15. bankname = '';
  16. biznature = 0;
  17. bizscope = '';
  18. cardbackphotourl = '';
  19. cardfrontphotourl = '';
  20. cardnum = '';
  21. cardtypeid = 0;
  22. cityid = 0;
  23. company = '';
  24. contactname = '';
  25. countryid = 0;
  26. createtime = '';
  27. creatorid = 0;
  28. customername = '';
  29. districtid = 0;
  30. email = '';
  31. fax = '';
  32. halfbodyphotourl = '';
  33. hasencrypt = 0;
  34. headurl = '';
  35. legalcardbackphotourl = '';
  36. legalcardfrontphotourl = '';
  37. legalpersonname = '';
  38. mobile = '';
  39. mobile2 = '';
  40. modifierid = 0;
  41. modifiertime = '';
  42. needinvoice: 1;
  43. nickname = '';
  44. openmode = 0;
  45. otherurl = '';
  46. postalcode = '';
  47. provinceid = 0;
  48. qq = '';
  49. remark = '';
  50. sex = 0;
  51. signpdfurl = '';
  52. telphone = '';
  53. userid = 0;
  54. userinfotype = 0;
  55. userstatus = 0;
  56. usertype = 0;
  57. wechat = '';
  58. wskhinfo = '';
  59. }
  60. export class LoginaccountModel implements Loginaccount {
  61. canoutin = 0;
  62. clientroleid = 0;
  63. haslogined = 0;
  64. hasupdatedpwd = 0;
  65. lastloginip = '';
  66. lastloginmode = 0;
  67. lastloginremark = '';
  68. lastlogintime = '';
  69. logincode = '';
  70. loginfailnum = 0;
  71. loginid = 0;
  72. loginport = 0;
  73. loginstatus = 0;
  74. loginusertype = 0;
  75. modifierid = 0;
  76. modifytime = '';
  77. pwdwrongcount = 0;
  78. taaccountrighttype = 0;
  79. unfreezetime = '';
  80. userid = 0;
  81. }
  82. export class UserAccountModel implements Useraccount {
  83. accountname = '';
  84. accountstatus = 0;
  85. auditremark = '';
  86. audittime = '';
  87. audituserid = 0;
  88. broker = 0;
  89. canceltime = '';
  90. canceluserid = 0;
  91. createtime = '';
  92. creatorid = 0;
  93. hasauth = 0;
  94. isanonymous = 0;
  95. maxinvestornum = 0;
  96. memberuserid = 0;
  97. modifierid = 0;
  98. modifyremark = '';
  99. modifystatus = 0;
  100. modifytime = '';
  101. parentuserid = 0;
  102. reckonaccountid = 0;
  103. refercount = 0;
  104. refereeuserid = 0;
  105. refernum = '';
  106. subarealevelpath = '';
  107. userid = 0;
  108. usertype = 0;
  109. }
  110. export class MarketrunModal implements Marketrun {
  111. afternexttradedate = ''; //下下交易日
  112. clearquoteflag = 0;//行情清盘标志- 1:未发送 2:已发送 3:已回复
  113. lastreckondate = '';//最新交易日(结算成功)
  114. machinedate = '';//机器时间
  115. manualflag = 0;//手动开市标志- number;
  116. //:否 1:是 (市场为手动时,是否触发了手动开市标志)
  117. marketid = 0;//市场ID
  118. nexttradedate = '';//下一交易日
  119. pretradedate = '';//上一交易日
  120. reckonflag = 0;//结算标识 - number;
  121. //: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)
  122. runstatus = 1;//运行状态 - number;
  123. //:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 1number;
  124. //:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 3number;
  125. //.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 4number;
  126. //.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 5number;
  127. //.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算
  128. sectionid = 0;//时间段号[多时段时用]
  129. tradedate = '';//当前交易日(服务) 资金结算完成即变更,供交易服务使用
  130. tradedate2 = '';//当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  131. updatetime = '';//更新时间
  132. }
  133. export class SelectedAccountModel implements AccountListItem {
  134. accountflag = 0;//账户标识 - number;
  135. //\1 (默认为number;
  136. //, 当上级账户与本账户的关联用户均为自己时更新为1)
  137. accountid = 0;//资金账户ID
  138. accountname = '';//账户名称
  139. balance = 0;//期初余额
  140. capitalbalance = 0;//本金余额[外部子账户实际出入金余额]
  141. changeflag = 0;//变动标志(当前账户资金有任何变动更新为1系统结算时更新number;
  142. //;供清算时使用) number;
  143. //:无变动 1:有变动
  144. changetime = '';//账户状态变更时间
  145. closepl = 0;//今日平仓盈亏
  146. creditdecrease = 0;//今日授信减少
  147. creditincrease = 0;//今日授信增加
  148. currencyid = 0;//货币ID
  149. currentbalance = 0;//期末余额
  150. freezecharge = 0;//手续费冻结
  151. freezemargin = 0;//冻结保证金
  152. fromaccountid = 0;//所属上级账户
  153. inamount = 0;//今日入金金额(包括三方入金)
  154. ismain = 0;//是否母账号 number;
  155. //:不是母账户 1:是母账户
  156. ismarketaccount = 0;//是否机构接单账号 number;
  157. //:不是 1:是
  158. isreckonaccount = 0;//是否机构分润账号 number;
  159. //:不是 1:是
  160. mortgagecredit = 0;//授信金额
  161. orifreezecharge = 0;//期初手续费冻结
  162. orifreezemargin = 0;//期初冻结保证金
  163. orimortgagecredit = 0;//期初授信金额
  164. oriothercredit = 0;//期初其它授信金额
  165. oriotherfreezemargin = 0;//期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  166. orioutamountfreeze = 0;//期初出金冻结
  167. oriusedmargin = 0;//期初占用保证金
  168. othercredit = 0;//其它授信金额
  169. othercreditdecrease = 0;//今日其它授信减少
  170. othercreditincrease = 0;//今日其它授信增加
  171. otherfreezemargin = 0;//其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  172. otherincome = 0;//其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  173. otherpay = 0;//其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  174. outamount = 0;//今日出金金额(包括三方出金)
  175. outamountfreeze = 0;//出金冻结
  176. outthreshold = 0;//出金阈值
  177. parentaccountid = 0;//所属根账号
  178. paycharge = 0;//今日手续费支出
  179. relatedaccountstatus = 0;//关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  180. relateduserid = 0;//关联用户
  181. serivcegroup = 0;//服务分组
  182. signstatus = 0;//签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  183. sublevelpath = '';//账号层级路径(逗号分隔,首尾加逗号)
  184. taaccounttype = 0;//账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  185. thirdinamount = 0;//今日三方入金
  186. thirdoutamount = 0;//今日三方出金
  187. tradestatus = 0;//交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  188. tradestatuschangetime = '';//激活时间
  189. transferamount = 0;//今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  190. usedmargin = 0;//占用保证金
  191. userid = 0;//用户ID
  192. }