You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.1 KiB
C#

using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;
namespace djy.Model {
[JsonObject(MemberSerialization.OptIn), Table(Name = "code_rule_no", DisableSyncStructure = true)]
public partial class CodeRuleNo {
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
/// <summary>
/// 规则内容
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string RULEBLNO { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string RULECODE { get; set; }
/// <summary>
/// 规则中是是使启用部门代码
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string RULEDATETYPE { get; set; } = "0";
[JsonProperty, Column(DbType = "varchar(20)")]
public string RULENAME { get; set; }
/// <summary>
/// 规则内容
/// </summary>
[JsonProperty]
public int? RULETYPE { get; set; }
}
}