import { LastUpdateTime, TradeDate } from '@/services/dataCenter/interafce/account';
import { Loginaccount, Useraccount, Userinfo } from '@/services/go/useInfo/interface';

/**
 *  获取最后更新时间模型类
 */
export class LastUpdateTimeModel implements LastUpdateTime {
    dictionaryUTime = 0.0; // 枚举常量字典最后更新时间
    errorcodeUTime = 0.0; // 错误码字典最后更新时间
    marketsUTime = 0.0; // 市场更新时间
    goodsUTime = 0.0; // 商品更新时间
    configUTime = 0.0; // 终端配置参数更新时间
    riskMsgUTime = 0.0; // 风险协议书更新时间
    tradeDate = 0.0; // 交易日
    menuUTime = 0.0; // 菜单更新时间
    dvGoodsUTime = 0.0; // 交收商品更新时间
    exUTime = 0.0; // 交易所更新时间
    goodsGroupUTime = 0.0; // 商品组更新时间
}

/**
 * 用户信息模型类
 */
export class UserInfoModel implements Userinfo {
    address = '';
    attachment1 = '';
    attachment2 = '';
    bankaccount = '';
    bankaccountname = '';
    bankcardfrontphotourl = '';
    bankid = '';
    bankname = '';
    biznature = 0;
    bizscope = '';
    cardbackphotourl = '';
    cardfrontphotourl = '';
    cardnum = '';
    cardtypeid = 0;
    cityid = 0;
    company = '';
    contactname = '';
    countryid = 0;
    createtime = '';
    creatorid = 0;
    customername = '';
    districtid = 0;
    email = '';
    fax = '';
    halfbodyphotourl = '';
    hasencrypt = 0;
    headurl = '';
    legalcardbackphotourl = '';
    legalcardfrontphotourl = '';
    legalpersonname = '';
    mobile = '';
    mobile2 = '';
    modifierid = 0;
    modifiertime = '';
    needinvoice: 1;
    nickname = '';
    openmode = 0;
    otherurl = '';
    postalcode = '';
    provinceid = 0;
    qq = '';
    remark = '';
    sex = 0;
    signpdfurl = '';
    telphone = '';
    userid = 0;
    userinfotype = 0;
    userstatus = 0;
    usertype = 0;
    wechat = '';
    wskhinfo = '';
}

export class TradeDateModel implements TradeDate {
    afternexttradedate = '';
    clearquoteflag = '';
    manualflag = '';
    marketid = '';
    nexttradedate = '';
    pretradedate = '';
    reckonflag = '';
    runstatus = '';
    tradedate = '';
    tradedate2 = '';
    updatetime = '';
}

export class LoginaccountModel implements Loginaccount {
    canoutin = 0;
    clientroleid = 0;
    haslogined = 0;
    hasupdatedpwd = 0;
    lastloginip = '';
    lastloginmode = 0;
    lastloginremark = '';
    lastlogintime = '';
    logincode = '';
    loginfailnum = 0;
    loginid = 0;
    loginport = 0;
    loginstatus = 0;
    loginusertype = 0;
    modifierid = 0;
    modifytime = '';
    pwdwrongcount = 0;
    taaccountrighttype = 0;
    unfreezetime = '';
    userid = 0;
}
export class userAccountModel implements Useraccount {
    accountname = '';
    accountstatus = 0;
    auditremark = '';
    audittime = '';
    audituserid = 0;
    broker = 0;
    canceltime = '';
    canceluserid = 0;
    createtime = '';
    creatorid = 0;
    hasauth = 0;
    isanonymous = 0;
    maxinvestornum = 0;
    memberuserid = 0;
    modifierid = 0;
    modifyremark = '';
    modifystatus = 0;
    modifytime = '';
    parentuserid = 0;
    reckonaccountid = 0;
    refercount = 0;
    refereeuserid = 0;
    refernum = '';
    subarealevelpath = '';
    userid = 0;
    usertype = 0;
}
