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.
 
 
 
 
 

55 lines
1.4 KiB

using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace ChangKeTec.Wms.Models.Wms
{
public partial class TA_SALE_PRICE
{
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
public int UID { get; set; }
[Key]
[Column(Order = 0)]
[StringLength(50)]
[DisplayName("客户编号")]
public string CustId { get; set; }
[Key]
[Column(Order = 1)]
[StringLength(50)]
[DisplayName("物料号")]
public string PartCode { get; set; }
[Required(AllowEmptyStrings = true)]
[StringLength(50)]
[DisplayName("币种")]
public string Currency { get; set; }
[Required(AllowEmptyStrings = true)]
[StringLength(50)]
[DisplayName("单位")]
public string Unit { get; set; }
[Column(TypeName = "money")]
[DisplayName("价格")]
public decimal Price { get; set; }
[Key]
[Column(Order = 2, TypeName = "date")]
[DisplayName("生效日期")]
public DateTime BeginDate { get; set; }
[Column(TypeName = "date")]
[DisplayName("失效日期")]
public DateTime EndDate { get; set; }
[DisplayName("状态")]
public int State { get; set; }
[StringLength(500)]
[DisplayName("备注")]
public string Remark { get; set; }
}
}