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.

66 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 = "sys_announce", DisableSyncStructure = true)]
public partial class SysAnnounce {
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
[JsonProperty, Column(DbType = "text")]
public string ANNOUNCECONTENT { get; set; }
[JsonProperty]
public DateTime? BEGINTIME { get; set; }
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? CREATETIME { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string CREATEUSER { get; set; }
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? DELETETIME { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string DELETEUSER { get; set; }
[JsonProperty, Column(DbType = "varchar(100)")]
public string DESCRIPTION { get; set; }
[JsonProperty]
public DateTime? ENDTIME { get; set; }
[JsonProperty]
public int? INTERVAL { get; set; }
[JsonProperty]
public bool? ISDELETE { get; set; } = false;
[JsonProperty]
public bool? ISISSUE { get; set; } = false;
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? MODIFIEDTIME { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string MODIFIEDUSER { get; set; }
[JsonProperty, Column(DbType = "varchar(100)")]
public string NAME { get; set; }
[JsonProperty]
public int? TYPE { get; set; }
}
}