| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- using Business.Core.Attributes;
- using Business.Model;
- using Microsoft.EntityFrameworkCore;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- namespace Bussiness.Model.ProductionProcess
- {
- /// <summary>
- /// mes打卡记录表
- /// </summary>
- [CollectionName("dopbase", "mes_swipe_card")]
- [Comment("mes打卡记录表")]
- public class mes_swipe_card : BaseEntity
- {
- ///// <summary>
- ///// mes打卡记录id
- ///// </summary>
- //[Key]
- //[Comment("mes打卡记录id")]
- //public long id { get; set; }
- /// <summary>
- /// 生产车间
- /// </summary>
- [Required]
- [StringLength(255)]
- [Comment("生产车间")]
- public string? product_org { get; set; }
- /// <summary>
- /// 生产产线
- /// </summary>
- [Required]
- [StringLength(255)]
- [Comment("生产产线")]
- public string? product_line { get; set; }
- /// <summary>
- /// 卡号
- /// </summary>
- [Required]
- [StringLength(80)]
- [Comment("卡号")]
- public string? card_no { get; set; }
- /// <summary>
- /// 工单编号
- /// </summary>
- [StringLength(50)]
- [Comment("工单编号")]
- public string? order_no { get; set; }
- /// <summary>
- /// 上线时间
- /// </summary>
- [Comment("上线时间")]
- public DateTime? up_line_time { get; set; }
- /// <summary>
- /// 下线时间
- /// </summary>
- [Comment("下线时间")]
- public DateTime? off_line_time { get; set; }
- /// <summary>
- /// 刷卡类型 1 白班 ,2 晚班
- /// </summary>
- [Comment("刷卡类型")]
- public int type { get; set; }
- /// <summary>
- /// 刷卡日期
- /// </summary>
- [Comment("刷卡日期")]
- public DateTime swipe_date { get; set; }
- }
- }
|