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.
57 lines
1.5 KiB
C#
57 lines
1.5 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 = "op_rule", DisableSyncStructure = true)]
|
|
public partial class OpRule {
|
|
|
|
[JsonProperty, Column(DbType = "varchar(40)", IsPrimary = true, IsNullable = false)]
|
|
public string GID { get; set; }
|
|
|
|
[JsonProperty, Column(DbType = "varchar(200)", IsNullable = false)]
|
|
public string Code { get; set; }
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)", IsNullable = false)]
|
|
public string CompareType { get; set; }
|
|
|
|
[JsonProperty]
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
[JsonProperty, Column(DbType = "varchar(200)", IsNullable = false)]
|
|
public string CreateUser { get; set; }
|
|
|
|
[JsonProperty]
|
|
public bool Enable { get; set; } = true;
|
|
|
|
[JsonProperty]
|
|
public DateTime? EnableDisableTime { get; set; }
|
|
|
|
[JsonProperty]
|
|
public DateTime? ModifyTime { get; set; }
|
|
|
|
[JsonProperty, Column(DbType = "varchar(200)")]
|
|
public string ModifyUser { get; set; }
|
|
|
|
[JsonProperty, Column(DbType = "varchar(200)")]
|
|
public string RedAlertField { get; set; }
|
|
|
|
[JsonProperty]
|
|
public bool SaveDisable { get; set; } = true;
|
|
|
|
[JsonProperty]
|
|
public int SortOrder { get; set; } = 0;
|
|
|
|
[JsonProperty, Column(DbType = "varchar(500)", IsNullable = false)]
|
|
public string Title { get; set; }
|
|
|
|
}
|
|
|
|
}
|