| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- using Business.Core.Attributes;
- using Bussiness.MongoModel;
- using Microsoft.EntityFrameworkCore;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- namespace Bussiness.MongoModel.Tech
- {
- /// <summary>
- /// 工作日历
- /// </summary>
- [CollectionName("dopbase", "mo_mes_work_calendar")]
- [Comment("工作日历")]
- public class mo_mes_work_calendar : MoBaseEntity
- {
- ///// <summary>
- ///// 工作日历主键
- ///// </summary>
- //[Key]
- //[Comment("工作日历主键")]
- //public long work_calendar_id { get; set; }
- /// <summary>
- /// 工作日历编码
- /// </summary>
- [StringLength(100)]
- [Comment("工作日历编码")]
- public string? work_calendar_no { get; set; }
- /// <summary>
- /// 工作日历名称
- /// </summary>
- [StringLength(100)]
- [Comment("工作日历名称")]
- public string? work_calendar_name { get; set; }
- /// <summary>
- /// 班制id
- /// </summary>
- [Comment("班制id")]
- public long? shift_id { get; set; }
- /// <summary>
- /// 开始时间
- /// </summary>
- [Comment("开始时间")]
- public DateTime? start_time { get; set; }
- /// <summary>
- /// 结束时间
- /// </summary>
- [Comment("结束时间")]
- public DateTime? end_time { get; set; }
- /// <summary>
- /// 标准周期
- /// </summary>
- [Comment("标准周期")]
- public int? standard_period { get; set; }
- /// <summary>
- /// 工作周期
- /// </summary>
- [Comment("工作周期")]
- public int? work_period { get; set; }
- /// <summary>
- /// 休息周期
- /// </summary>
- [Comment("休息周期")]
- public int? rest_period { get; set; }
- /// <summary>
- /// 周1
- /// </summary>
- [Comment("周1")]
- public int? calendar1 { get; set; }
- /// <summary>
- /// 周2
- /// </summary>
- [Comment("周2")]
- public int? calendar2 { get; set; }
- /// <summary>
- /// 周3
- /// </summary>
- [Comment("周3")]
- public int? calendar3 { get; set; }
- /// <summary>
- /// 周4
- /// </summary>
- [Comment("周4")]
- public int? calendar4 { get; set; }
- /// <summary>
- /// 周5
- /// </summary>
- [Comment("周5")]
- public int? calendar5 { get; set; }
- /// <summary>
- /// 周6
- /// </summary>
- [Comment("周6")]
- public int? calendar6 { get; set; }
- /// <summary>
- /// 周7
- /// </summary>
- [Comment("周7")]
- public int? calendar7 { get; set; }
- }
- }
|