| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- 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
- {
- /// <summary>
- /// 系统编码前置表
- /// </summary>
- [Comment("系统编码前置表")]
- [CollectionName("dopbase", "sys_code_pre")]
- public class sys_code_pre:Entity<long>
- {
- ///// <summary>
- ///// 主键id
- ///// </summary>
- //[Key]
- //[Comment("主键id")]
- //public long id { get; set; }
- /// <summary>
- /// 编码生成名称
- /// </summary>
- [StringLength(50)]
- [Required]
- [Comment("编码生成名称")]
- public string? code_name { get; set; }
- /// <summary>
- /// 编码生成前置名称
- /// </summary>
- [Required]
- [StringLength(50)]
- [Comment("编码生成前置名称")]
- public string? pre_name { get; set; }
- /// <summary>
- /// 编码生成时间
- /// </summary>
- [Required]
- [Comment("编码生成时间")]
- public DateTime code_date { get; set; }
- /// <summary>
- /// 编码生成当前值
- /// </summary>
- [Required]
- [Comment("编码生成当前值")]
- public long? code_value { get; set; }
- }
- }
|