using MadRunFabric.Common; using MongoDB.Bson.Serialization.Attributes; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace MadRunFabric.Model { /// /// 班别表 - 普通排班(保洁,保安) - 公示系统展示 /// [BsonIgnoreExtraElements] public class Sys_Work_ClassGroup : IBaseModel { /// /// id /// [Key] [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string id { get; set; } /// /// 项目id /// [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string projectid { get; set; } /// /// 角色分类(字典) /// [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string usertype { get; set; } /// /// 班别名称 /// public string name { get; set; } /// /// 班别代码 /// public string code { get; set; } /// /// 开始时间 /// public string starttime { get; set; } /// /// 结束时间 /// public string endtime { get; set; } /// /// 备注 /// public string remark { get; set; } /// /// 添加人工号 ------------------------------------------------ /// public string createby { get; set; } /// /// 添加人名字 /// public string createname { get; set; } /// /// 添加时间 /// public DateTime createtime { get; set; } = DateTime.Now; /// /// 是否删除(0正常1删除) /// public int isdelete { get; set; } = 0; /// /// 删除人 /// public string deleteby { get; set; } /// /// 删除日期 /// public DateTime? deletetime { get; set; } } }