using Business.Core.Attributes;
using Bussiness.MongoModel;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Volo.Abp.Domain.Entities;
namespace Bussiness.MongoModel.SystemData
{
///
/// 系统编码表
///
[Comment("系统编码表")]
[CollectionName("dopbase", "mo_sys_code")]
public class mo_sys_code:Entity
{
/////
///// 主键id
/////
//[Key]
//[Comment("主键id")]
//public long sys_code_id { get; set; }
///
/// 编码生成名称
///
[StringLength(50)]
[Required]
[Comment("编码生成名称")]
public string? code_name { get; set; }
///
/// 编码生成规则
///
[Required]
[StringLength(50)]
[Comment("编码生成规则")]
public string? code_rule { get; set; }
///
/// 编码生成时间
///
[Required]
[Comment("编码生成时间")]
public DateTime? code_date { get; set; }
///
/// 编码生成当前值
///
[Required]
[Comment("编码生成当前值")]
public long? code_value { get; set; }
///
/// 中文注释
///
[StringLength(255)]
[Comment("中文注释")]
public string? chinese_name { get; set; }
///
/// mysql表id
///
[Comment("mysql表id")]
public virtual long? mysql_id { get; set; }
}
}