|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
using System.Linq;
|
|
|
using System.Web;
|
|
|
|
|
|
namespace DSWeb.Common.DB
|
|
|
{
|
|
|
[Table("user")]
|
|
|
public class User
|
|
|
{
|
|
|
[Key]
|
|
|
public string GID { get; set; }
|
|
|
public string USERNAME { get; set; }
|
|
|
public string CODENAME { get; set; }
|
|
|
public string PASSWORD { get; set; }
|
|
|
public string SHOWNAME { get; set; }
|
|
|
public DateTime? ENROLLTIME { get; set; }
|
|
|
public string CREATEUSER { get; set; }
|
|
|
public string MODIFIEDUSER { get; set; }
|
|
|
public DateTime? MODIFIEDTIME { get; set; }
|
|
|
public bool? ISDELETED { get; set; }
|
|
|
public bool? ISDISABLE { get; set; }
|
|
|
public string DELETEUSER { get; set; }
|
|
|
public DateTime? DELETETIME { get; set; }
|
|
|
public string NOCODE { get; set; }
|
|
|
public string OPENID { get; set; }
|
|
|
public string WeChatAccount { get; set; }
|
|
|
public string FaSongFangDaiMa { get; set; }
|
|
|
public string ptPhone { get; set; }
|
|
|
public string ptEmail { get; set; }
|
|
|
public string comid { get; set; }
|
|
|
public bool isAllowGenerate { get; set; }
|
|
|
public bool isAllowSend { get; set; }
|
|
|
public string COMNAME { get; set; }
|
|
|
public string YAOQINGMA { get; set; }
|
|
|
public string cscode { get; set; }
|
|
|
public string COMTYPE { get; set; }
|
|
|
|
|
|
//用户绑定公司的ID,认证后或加入公司后,置值所属公司的ID
|
|
|
public string CompId { get; set; }
|
|
|
|
|
|
//是否离职
|
|
|
public bool IsLeave { get; set; }
|
|
|
|
|
|
//是否强制更改密码 员工加入新公司
|
|
|
public bool IsAlterPass { get; set; }
|
|
|
}
|
|
|
} |