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.

168 lines
4.2 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_receipt", DisableSyncStructure = true)]
public partial class OpReceipt {
/// <summary>
/// 惟一编号
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
/// <summary>
/// 关联编号/业务编号BSNO
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)")]
public string BSNO { get; set; }
/// <summary>
/// 分公司代码
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string CORPID { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? CREATETIME { get; set; }
/// <summary>
/// 创建人gid
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string CREATEUSER { get; set; }
/// <summary>
/// 是否还单
/// </summary>
[JsonProperty]
public bool? ISRECEIVE { get; set; } = false;
/// <summary>
/// 是否回单
/// </summary>
[JsonProperty]
public bool? ISREPEAT { get; set; } = false;
/// <summary>
/// 更改操作时间
/// </summary>
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? MODIFIEDTIME { get; set; }
/// <summary>
/// 更改操作人gid
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string MODIFIEDUSER { get; set; }
/// <summary>
/// 单据编号
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)")]
public string RECEIPTNO { get; set; }
/// <summary>
/// 单据类型
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)")]
public string RECEIPTTYPE { get; set; }
/// <summary>
/// 接单日期
/// </summary>
[JsonProperty, Column(Name = "RECEIVE_DATE")]
public DateTime? RECEIVEDATE { get; set; }
/// <summary>
/// 接单人
/// </summary>
[JsonProperty, Column(Name = "RECEIVE_MAN", DbType = "varchar(100)")]
public string RECEIVEMAN { get; set; }
[JsonProperty, Column(Name = "RECEIVE_TRANCNO", DbType = "varchar(100)")]
public string RECEIVETRANCNO { get; set; }
/// <summary>
/// 备注
/// </summary>
[JsonProperty, Column(DbType = "varchar(1024)")]
public string REMARK { get; set; }
/// <summary>
/// 回单日期
/// </summary>
[JsonProperty, Column(Name = "REPEAT_DATE")]
public DateTime? REPEATDATE { get; set; }
/// <summary>
/// 回单人
/// </summary>
[JsonProperty, Column(Name = "REPEAT_MAN", DbType = "varchar(100)")]
public string REPEATMAN { get; set; }
[JsonProperty, Column(Name = "REPEAT_TRANCNO", DbType = "varchar(100)")]
public string REPEATTRANCNO { get; set; }
/// <summary>
/// 还单日期
/// </summary>
[JsonProperty, Column(Name = "RETURN_DATE")]
public DateTime? RETURNDATE { get; set; }
/// <summary>
/// 还单人
/// </summary>
[JsonProperty, Column(Name = "RETURN_MAN", DbType = "varchar(100)")]
public string RETURNMAN { get; set; }
/// <summary>
/// 还单的快递公司
/// </summary>
[JsonProperty, Column(Name = "RETURN_TRANCER", DbType = "varchar(100)")]
public string RETURNTRANCER { get; set; }
/// <summary>
/// 还单的快递单号
/// </summary>
[JsonProperty, Column(Name = "RETURN_TRANCNO", DbType = "varchar(100)")]
public string RETURNTRANCNO { get; set; }
/// <summary>
/// 送单日期
/// </summary>
[JsonProperty, Column(Name = "SEND_DATE")]
public DateTime? SENDDATE { get; set; }
/// <summary>
/// 送单人
/// </summary>
[JsonProperty, Column(Name = "SEND_MAN", DbType = "varchar(100)")]
public string SENDMAN { get; set; }
/// <summary>
/// 送单的快递公司
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)")]
public string TRANCER { get; set; }
/// <summary>
/// 送单的快递单号
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)")]
public string TRANCNO { get; set; }
}
}