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.3 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 = "sys_report", DisableSyncStructure = true)]
public partial class SysReport {
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string COMPANYID { get; set; }
[JsonProperty, Column(DbType = "varchar(50)", IsPrimary = true, IsNullable = false)]
public string RPTNAME { get; set; }
[JsonProperty, Column(DbType = "varchar(60)", IsPrimary = true, IsNullable = false)]
public string RPTPROP { get; set; }
[JsonProperty, Column(DbType = "varchar(36)", IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
[JsonProperty, Column(Name = "isCustom")]
public int IsCustom { get; set; } = 0;
[JsonProperty]
public bool? ISDEFAULT { get; set; } = false;
[JsonProperty, Column(DbType = "image")]
public byte[] REPORT { get; set; }
[JsonProperty, Column(DbType = "text")]
public string RPTCONTENT { get; set; }
[JsonProperty, Column(StringLength = 1000, IsNullable = false)]
public string RPTNOTE { get; set; } = "";
}
}