using Business.Model;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Domain.Entities;
namespace Bussiness.Model.SystemData
{
///
/// 计量单位信息表
///
[Description("计量单位信息表")]
public class sys_measure_unit:Entity
{
/////
///// 主键id
/////
//[Key]
//[Description("主键id")]
//public long unit_id { get; set; }
///
/// 单位名称
///
[StringLength(50)]
[Description("单位名称")]
public string? unit_name { get; set; }
///
/// 单位编码
///
[StringLength(50)]
[Description("单位编码")]
public string? unit_code { get; set; }
///
/// 是否是标准单位0-否,1是
///
[Description("是否是标准单位0-否,1是")]
[DefaultValue(true)]
public bool is_standard { get; set; }
///
/// 状态:0-无效,1-有效
///
[Description("状态:0-无效,1-有效")]
[DefaultValue(true)]
public bool status { get; set; }
}
}