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.

69 lines
1.7 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", DisableSyncStructure = true)]
public partial class CodeRule {
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
[JsonProperty]
public DateTime? CREATETIME { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string CREATEUSER { get; set; }
[JsonProperty]
public bool? ISALLOWEDITS { get; set; }
[JsonProperty]
public bool? ISCLEAREDINEARLY { get; set; }
[JsonProperty]
public bool? ISCOMPANY { get; set; }
[JsonProperty]
public bool? ISDEPT { get; set; }
[JsonProperty]
public bool? ISSTARTUSING { get; set; }
[JsonProperty]
public DateTime? MODIFIEDTIME { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string MODIFIEDUSER { get; set; }
[JsonProperty, Column(DbType = "varchar(30)")]
public string RULECONTENT { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string RULEDATE { get; set; }
[JsonProperty, Column(DbType = "varchar(20)", IsNullable = false)]
public string RULENAME { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string RULENOLENGTH { get; set; }
[JsonProperty, Column(DbType = "varchar(4)")]
public string RULENOSTART { get; set; } = "";
[JsonProperty]
public int? RULETYPE { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string RULEYEAR { get; set; }
}
}