using Microsoft.EntityFrameworkCore;
|
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
/*
|
* @author : 刘文奇
|
* @date : 2024/4/23下午4:07:29
|
* @desc : 单位基础信息
|
*/
|
namespace Admin.NET.Core
|
{
|
/// <summary>
|
/// 单位基础信息
|
/// </summary>
|
[Table("wms_unit")]
|
[Comment("单位基础信息")]
|
public class WmsUnit : DEntityBase
|
{
|
|
|
/// <summary>
|
/// 编号
|
/// </summary>
|
[Comment("编号")]
|
[Required]
|
[MaxLength(50)]
|
public string UnitCode { get; set; }
|
|
|
/// <summary>
|
/// 名称
|
/// </summary>
|
[Comment("名称")]
|
[Required]
|
[MaxLength(50)]
|
public string UnitName { get; set; }
|
|
|
/// <summary>
|
/// 描述
|
/// </summary>
|
[Comment("描述")]
|
[MaxLength(50)]
|
public string UnitDesc { get; set; }
|
|
|
/// <summary>
|
/// 是否禁用
|
/// </summary>
|
[Comment("是否禁用")]
|
[Required]
|
|
public bool IsDisabled { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
}
|