You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

67 lines
1.7 KiB

using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using ChangKeTec.Wms.Models.Enums;
//
namespace ChangKeTec.Wms.Models.Wms
{
public partial class TB_CHECK_LOC
{
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
public int UID { get; set; }
[NotMapped]
public string => CheckState.ToString();
public EnumCheckResult CheckResult { get; set; }
[NotMapped]
public string => CheckResult.ToString();
[Key]
[Column(Order = 0)]
[StringLength(50)]
[DisplayName("单据编号")]
public string BillNum { get; set; }
[Key]
[Column(Order = 1)]
[StringLength(50)]
[DisplayName("盘点库位")]
public string LocCode { get; set; }
[Required(AllowEmptyStrings = true)]
[StringLength(50)]
[DisplayName("制单人")]
public string OperName { get; set; }
[DisplayName("单据时间")]
public DateTime BillTime { get; set; }
[StringLength(50)]
[DisplayName("盘点开始时间")]
public string CheckBeginTime { get; set; }
[StringLength(50)]
[DisplayName("盘点结束时间")]
public string CheckEndTime { get; set; }
[StringLength(50)]
[DisplayName("重盘开始时间")]
public string ReCheckBeginTime { get; set; }
[StringLength(50)]
[DisplayName("重盘结束时间")]
public string ReCheckEndTime { get; set; }
public EnumCheckState CheckState { get; set; }
[StringLength(500)]
[DisplayName("备注")]
public string Remark { get; set; }
}
}