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.
40 lines
1.0 KiB
40 lines
1.0 KiB
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; }
|
|
|
|
}
|
|
}
|
|
|