| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- using Business.Core.Attributes;
- using Business.Model;
- using Microsoft.EntityFrameworkCore;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- namespace Bussiness.Model.SystemData
- {
- /// <summary>
- /// 班制表
- /// </summary>
- [Comment("班制表")]
- [CollectionName("dopbase", "sys_shift")]
- public class sys_shift: BaseEntity
- {
- ///// <summary>
- ///// 主键id
- ///// </summary>
- //[Key]
- //[Comment("主键id")]
- //public long shift_id { get; set; }
- /// <summary>
- /// 班制编码
- /// </summary>
- [StringLength(50)]
- [Comment("班制编码")]
- public string? shift_no { get; set; }
- /// <summary>
- /// 班制名称
- /// </summary>
- [StringLength(255)]
- [Comment("班制名称")]
- public string? shift_name { get; set; }
- /// <summary>
- /// 是否跨天 1是 0否
- /// </summary>
- [Comment("岗位id")]
- [DefaultValue(false)]
- public bool is_across { get; set; }
- /// <summary>
- /// 备注
- /// </summary>
- [StringLength(255)]
- [Comment("备注")]
- public string? remark { get; set; }
- /// <summary>
- /// 有效时长
- /// </summary>
- [Comment("有效时长")]
- public int? validate_hours { get; set; }
- /// <summary>
- /// 数据状态标识 1启用 0停用
- /// </summary>
- [Comment("数据状态标识 1启用 0停用")]
- [DefaultValue(true)]
- public bool state { get; set; }
- }
- }
|