using System; using System.Data; using System.Collections; using System.Collections.Generic; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsCodeEmployee { [JsonObject] public class CodeEmployee : ModelObjectBillHead { #region 私有成员 private string _GID = Guid.NewGuid().ToString();//业务编号 #endregion public CodeEmployee() { TableName = "code_employee"; } #region 读写属性 /// /// 主键唯一值 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string USERCODE { get; set; } [ModelDB] public string USERNAME { get; set; } [ModelDB] public string SEX { get; set; } [ModelDB] public string ENROLLTIME { get; set; } [ModelDB] public string BIRTHDAY { get; set; } [ModelDB] public string OFFICEPHONE { get; set; } [ModelDB] public string HOMEPHONE { get; set; } [ModelDB] public string MOBILE { get; set; } [ModelDB] public string EMAIL1 { get; set; } [ModelDB] public string EMAIL2 { get; set; } [ModelDB] public string HOMEADDRESS { get; set; } [ModelDB] public string DEPTNAME { get; set; } [ModelDB] public string STATUS { get; set; } [ModelDB] public string LEAVEOFFICETIME { get; set; } [ModelDB] public string OFFICEADDR { get; set; } [ModelDB] public string MODIFIEDUSER { get; set; } [ModelDB] public string MODIFIEDTIME { get; set; } [ModelDB] public string REMARK { get; set; } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CORPID {get;set;} [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CREATEUSER { get; set; } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CREATETIME { get; set; } #endregion } }