using Microsoft.EntityFrameworkCore;
|
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
/*
|
* @author : 刘文奇
|
* @date : 2024/4/24上午10:48:23
|
* @desc : 物料客户关联表
|
*/
|
namespace Admin.NET.Core
|
{
|
/// <summary>
|
/// 物料客户关联表
|
/// </summary>
|
[Table("wms_material_customer")]
|
[Comment("物料客户关联表")]
|
public class WmsMaterialCustomer : DEntityBase
|
{
|
|
|
/// <summary>
|
/// 物料ID
|
/// </summary>
|
[Comment("物料ID")]
|
[Required]
|
|
public long MaterialId { get; set; }
|
|
|
/// <summary>
|
/// 物料编号
|
/// </summary>
|
[Comment("物料编号")]
|
[Required]
|
[MaxLength(50)]
|
public string MaterialCode { get; set; }
|
|
|
/// <summary>
|
/// 物料名称
|
/// </summary>
|
[Comment("物料名称")]
|
[Required]
|
[MaxLength(50)]
|
public string MaterialName { get; set; }
|
|
|
/// <summary>
|
/// 客户ID
|
/// </summary>
|
[Comment("客户ID")]
|
[Required]
|
|
public long CustId { get; set; }
|
|
|
/// <summary>
|
/// 客户编号
|
/// </summary>
|
[Comment("客户编号")]
|
[Required]
|
[MaxLength(50)]
|
public string CustCode { get; set; }
|
|
|
/// <summary>
|
/// 客户英文名称
|
/// </summary>
|
[Comment("客户英文名称")]
|
[MaxLength(255)]
|
public string CustEnglishName { get; set; }
|
|
|
/// <summary>
|
/// 客户中文名称
|
/// </summary>
|
[Comment("客户中文名称")]
|
[Required]
|
[MaxLength(255)]
|
public string CustChinaName { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
}
|