Unit DZModelUserInfo;

interface
Uses SysUtils,Classes,DB,BaseModel;
Type
TModelUserInfo=Class 
Private
  FUserID:TDZModel;
  FUserName:TDZModel;
  FPassword:TDZModel;
  FRegisterTime:TDZModel;
  FLastLoginTime:TDZModel;
  FFailCount:TDZModel;
  FNickname:TDZModel;
  FHeadImg:TDZModel;
  FSex:TDZModel;
  FBirthday:TDZModel;
  FDepartMent:TDZModel;
  FJobType:TDZModel;
  FEdu:TDZModel;
  FPersonality:TDZModel;
  FPersonHobbie:TDZModel;
  FPersonSign:TDZModel;
  FRemark:TDZModel;
  FCityID:TDZModel;
  FEmail:TDZModel;
  FPersonPhone:TDZModel;
  FAsk:TDZModel;
  FAnswer:TDZModel;
  FUserState:TDZModel;
Public
Constructor Create;
Destructor Destroy;
  Property UserID:TDZModel Read FUserID Write FUserID;
  Property UserName:TDZModel Read FUserName Write FUserName;
  Property Password:TDZModel Read FPassword Write FPassword;
  Property RegisterTime:TDZModel Read FRegisterTime Write FRegisterTime;
  Property LastLoginTime:TDZModel Read FLastLoginTime Write FLastLoginTime;
  Property FailCount:TDZModel Read FFailCount Write FFailCount;
  Property Nickname:TDZModel Read FNickname Write FNickname;
  Property HeadImg:TDZModel Read FHeadImg Write FHeadImg;
  Property Sex:TDZModel Read FSex Write FSex;
  Property Birthday:TDZModel Read FBirthday Write FBirthday;
  Property DepartMent:TDZModel Read FDepartMent Write FDepartMent;
  Property JobType:TDZModel Read FJobType Write FJobType;
  Property Edu:TDZModel Read FEdu Write FEdu;
  Property Personality:TDZModel Read FPersonality Write FPersonality;
  Property PersonHobbie:TDZModel Read FPersonHobbie Write FPersonHobbie;
  Property PersonSign:TDZModel Read FPersonSign Write FPersonSign;
  Property Remark:TDZModel Read FRemark Write FRemark;
  Property CityID:TDZModel Read FCityID Write FCityID;
  Property Email:TDZModel Read FEmail Write FEmail;
  Property PersonPhone:TDZModel Read FPersonPhone Write FPersonPhone;
  Property Ask:TDZModel Read FAsk Write FAsk;
  Property Answer:TDZModel Read FAnswer Write FAnswer;
  Property UserState:TDZModel Read FUserState Write FUserState;
End;

implementation

Constructor TModelUserInfo.Create;
Begin
  FUserID:=TDZModel.Create;
  FUserID.DType:=ftAutoInc;
  FUserID.FieldName:='UserID';
  FUserName:=TDZModel.Create;
  FUserName.FieldName:='UserName';
  FUserName.Remark:='帐号';
  FPassword:=TDZModel.Create;
  FPassword.FieldName:='Password';
  FPassword.Remark:='密码';
  FRegisterTime:=TDZModel.Create;
  FRegisterTime.FieldName:='RegisterTime';
  FRegisterTime.Remark:='帐号注册时间';
  FLastLoginTime:=TDZModel.Create;
  FLastLoginTime.FieldName:='LastLoginTime';
  FLastLoginTime.Remark:='最后登录时间';
  FFailCount:=TDZModel.Create;
  FFailCount.FieldName:='FailCount';
  FFailCount.Remark:='错误次数';
  FNickname:=TDZModel.Create;
  FNickname.FieldName:='Nickname';
  FNickname.Remark:='昵称';
  FHeadImg:=TDZModel.Create;
  FHeadImg.FieldName:='HeadImg';
  FHeadImg.Remark:='头像';
  FSex:=TDZModel.Create;
  FSex.FieldName:='Sex';
  FSex.Remark:='性别';
  FBirthday:=TDZModel.Create;
  FBirthday.FieldName:='Birthday';
  FBirthday.Remark:='生日';
  FDepartMent:=TDZModel.Create;
  FDepartMent.FieldName:='DepartMent';
  FDepartMent.Remark:='部门';
  FJobType:=TDZModel.Create;
  FJobType.FieldName:='JobType';
  FJobType.Remark:='职位';
  FEdu:=TDZModel.Create;
  FEdu.FieldName:='Edu';
  FEdu.Remark:='教育程度';
  FPersonality:=TDZModel.Create;
  FPersonality.FieldName:='Personality';
  FPersonality.Remark:='性格';
  FPersonHobbie:=TDZModel.Create;
  FPersonHobbie.FieldName:='PersonHobbie';
  FPersonHobbie.Remark:='爱好';
  FPersonSign:=TDZModel.Create;
  FPersonSign.FieldName:='PersonSign';
  FPersonSign.Remark:='签名';
  FRemark:=TDZModel.Create;
  FRemark.FieldName:='Remark';
  FRemark.Remark:='备注';
  FCityID:=TDZModel.Create;
  FCityID.FieldName:='CityID';
  FCityID.Remark:='所在城市ID';
  FEmail:=TDZModel.Create;
  FEmail.FieldName:='Email';
  FPersonPhone:=TDZModel.Create;
  FPersonPhone.FieldName:='PersonPhone';
  FPersonPhone.Remark:='私人电话';
  FAsk:=TDZModel.Create;
  FAsk.FieldName:='Ask';
  FAsk.Remark:='找回密码问题';
  FAnswer:=TDZModel.Create;
  FAnswer.FieldName:='Answer';
  FAnswer.Remark:='找加密码答案';
  FUserState:=TDZModel.Create;
  FUserState.FieldName:='UserState';
  FUserState.Remark:='0禁用1正常2逻辑删除';
End;
Destructor TModelUserInfo.Destroy;
Begin
  FUserID.Free;
  FUserName.Free;
  FPassword.Free;
  FRegisterTime.Free;
  FLastLoginTime.Free;
  FFailCount.Free;
  FNickname.Free;
  FHeadImg.Free;
  FSex.Free;
  FBirthday.Free;
  FDepartMent.Free;
  FJobType.Free;
  FEdu.Free;
  FPersonality.Free;
  FPersonHobbie.Free;
  FPersonSign.Free;
  FRemark.Free;
  FCityID.Free;
  FEmail.Free;
  FPersonPhone.Free;
  FAsk.Free;
  FAnswer.Free;
  FUserState.Free;
  Inherited;
End;

End.
