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.

78 lines
2.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 = "op_letter", DisableSyncStructure = true)]
public partial class OpLetter {
/// <summary>
/// 业务编号
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)", IsNullable = false)]
public string BSNO { get; set; }
/// <summary>
/// ATTN
/// </summary>
[JsonProperty, Column(Name = "HEAD_ATTN", DbType = "varchar(30)")]
public string HEADATTN { get; set; }
[JsonProperty, Column(Name = "HEAD_ATTNFAX", DbType = "varchar(100)")]
public string HEADATTNFAX { get; set; }
[JsonProperty, Column(Name = "HEAD_ATTNTEL", DbType = "varchar(100)")]
public string HEADATTNTEL { get; set; }
[JsonProperty, Column(Name = "HEAD_FMEMAIL", DbType = "varchar(100)")]
public string HEADFMEMAIL { get; set; }
[JsonProperty, Column(Name = "HEAD_FMFAX", DbType = "varchar(100)")]
public string HEADFMFAX { get; set; }
[JsonProperty, Column(Name = "HEAD_FMTEL", DbType = "varchar(100)")]
public string HEADFMTEL { get; set; }
/// <summary>
/// TO
/// </summary>
[JsonProperty, Column(Name = "HEAD_TO", DbType = "varchar(60)")]
public string HEADTO { get; set; }
/// <summary>
/// 签发人
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string INPUTBY { get; set; }
/// <summary>
/// 签发时间
/// </summary>
[JsonProperty, Column(DbType = "smalldatetime", InsertValueSql = "getdate()")]
public DateTime? INPUTTIME { get; set; }
[JsonProperty, Column(Name = "LE_ID", DbType = "varchar(100)", IsNullable = false)]
public string LEID { get; set; }
/// <summary>
/// 函电名称
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string LETTERNAME { get; set; }
/// <summary>
/// 最后更新时间
/// </summary>
[JsonProperty, Column(DbType = "smalldatetime", InsertValueSql = "getdate()")]
public DateTime? UpdateTime { get; set; }
}
}