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