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