using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace WX.CRM.Model.Entity { public partial class BAS_INNERUSERGROUP { [RegularExpression("[0-9]*", ErrorMessage = "请选中销售组!")] [NotMapped] public Nullable ma_GID { get { return this.GID; } set { this.GID = value; } } [Required(ErrorMessage = "调动时间不能为空!")] [NotMapped] public DateTime? inDate { get; set; } } public class Bas_InnerUserGroup_View { public decimal INNERUSERID { get; set; } public decimal? DEPTID { get; set; } public decimal? GID { get; set; } public DateTime? CTIME { get; set; } public decimal? CREATEUSER { get; set; } public DateTime? UTIME { get; set; } public decimal? UPDATEUSER { get; set; } } }