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