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_User_Map : IBaseModel
{
///
/// id
///
[Key]
[BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
public string id { get; set; }
///
/// 项目id
///
[BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
public string projectid { get; set; }
/////
///// 用户账号code
/////
//public string usercode { get; set; }
///
/// 班别代码
///
public string classcode { get; set; }
///
/// 角色分类(字典)
///
[BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
public string usertype { get; set; }
///
/// 人员id list
///
public List userlist { get; set; }
///
/// 日期
///
public DateTime date { 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; }
}
}