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.

41 lines
1.0 KiB

1 year ago
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 TA_PART_UNIT_CONVERSION
{
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
public long UID { get; set; }
[Key]
[StringLength(50)]
[DisplayName("���Ϻ�")]
public string PartCode { get; set; }
[NotMapped]
[DisplayName("��������")]
public string PartDesc => WmsCache.GetPartDesc(PartCode);
[Required(AllowEmptyStrings = true)]
[StringLength(50)]
[DisplayName("��λ1")]
public string Unit1 { get; set; }
[Required(AllowEmptyStrings = true)]
[StringLength(50)]
[DisplayName("��λ2")]
public string Unit2 { get; set; }
[Column(TypeName = "money")]
[DisplayName("ת����")]
public decimal Conversion { get; set; }
}
}