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.

93 lines
2.0 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 {
/// <summary>
/// 放箱记录
/// </summary>
[JsonObject(MemberSerialization.OptIn), Table(Name = "cma_ctrn_record", DisableSyncStructure = true)]
public partial class CmaCtrnRecord {
/// <summary>
/// GID
/// </summary>
[JsonProperty, Column(DbType = "varchar(40)", IsPrimary = true, IsNullable = false)]
public string GID { get; set; }
/// <summary>
/// 订舱号
/// </summary>
[JsonProperty, Column(DbType = "varchar(40)")]
public string BookingNO { get; set; }
/// <summary>
/// 订舱代理
/// </summary>
[JsonProperty, Column(DbType = "varchar(40)")]
public string BookingProxy { get; set; }
/// <summary>
/// 公司ID
/// </summary>
[JsonProperty, Column(DbType = "varchar(40)")]
public string CompId { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime CreateTime { get; set; }
/// <summary>
/// 已打印
/// </summary>
[JsonProperty]
public int HasPrint { get; set; } = 0;
/// <summary>
/// 已申请未打印
/// </summary>
[JsonProperty]
public int NoPrint { get; set; } = 0;
/// <summary>
/// 未申请
/// </summary>
[JsonProperty]
public int NoRequire { get; set; } = 0;
/// <summary>
/// 备注
/// </summary>
[JsonProperty, Column(DbType = "varchar(200)")]
public string Remark { get; set; }
/// <summary>
/// 用户ID
/// </summary>
[JsonProperty, Column(DbType = "varchar(40)")]
public string UserId { get; set; }
/// <summary>
/// 船名
/// </summary>
[JsonProperty, Column(DbType = "varchar(40)")]
public string Vessel { get; set; }
/// <summary>
/// 航次
/// </summary>
[JsonProperty, Column(DbType = "varchar(40)")]
public string Voyno { get; set; }
}
}