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