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 {
///
/// 业务编号
///
[JsonProperty, Column(DbType = "varchar(100)", IsNullable = false)]
public string BSNO { get; set; }
///
/// ATTN
///
[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; }
///
/// TO
///
[JsonProperty, Column(Name = "HEAD_TO", DbType = "varchar(60)")]
public string HEADTO { get; set; }
///
/// 签发人
///
[JsonProperty, Column(DbType = "varchar(50)")]
public string INPUTBY { get; set; }
///
/// 签发时间
///
[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; }
///
/// 函电名称
///
[JsonProperty, Column(DbType = "varchar(20)")]
public string LETTERNAME { get; set; }
///
/// 最后更新时间
///
[JsonProperty, Column(DbType = "smalldatetime", InsertValueSql = "getdate()")]
public DateTime? UpdateTime { get; set; }
}
}