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.

185 lines
6.0 KiB
C#

4 months ago
using DS.Module.Core;
using DS.Module.Core.Data;
4 months ago
using DS.Module.Core.Enums;
4 months ago
using SqlSugar;
namespace DS.WMS.ContainerManagement.Info.Entity;
/// <summary>
/// 箱管_单程业务
/// </summary>
[SqlSugar.SugarTable("CM_RentOneWay", "箱管_单程业务")]
public class CM_RentOneWay : BaseOrgModelV2<long>
4 months ago
{
/// <summary>
/// Desc:租箱业务号
/// </summary>
[SugarColumn(ColumnDescription = "租箱业务号", IsNullable = false, Length = 20)]
public string Billno { get; set; }
/// <summary>
4 months ago
/// Desc:租箱业务 租入 租入退租 租出 租出退租 CMRentDirectEnum
4 months ago
/// </summary>
4 months ago
[SugarColumn(ColumnDescription = "租箱业务Id", IsNullable = false, Length = 20)]
public CMRentDirectEnum? RentDirectId { get; set; }
4 months ago
/// <summary>
/// Desc:租箱类型 1长租 0短租 2单程 CMRentTypeEnum
/// </summary>
4 months ago
[SugarColumn(ColumnDescription = "租箱类型Id", IsNullable = true, Length = 20)]
public CMRentTypeEnum? RentTypeId { get; set; }
4 months ago
/// <summary>
/// Desc:业务状态
/// </summary>
[SugarColumn(ColumnDescription = "业务状态", IsNullable = true, Length = 20)]
public string BillState { get; set; }
/// <summary>
/// Desc:原箱主Id
/// </summary>
4 months ago
[SqlSugar.SugarColumn(ColumnDescription = "原箱主Id", IsNullable = true, DefaultValue = "0")]
4 months ago
public long OldContainerOwnerId { get; set; }
/// <summary>
/// Desc:原箱主
/// </summary>
[SugarColumn(ColumnDescription = "原箱主", IsNullable = true, Length = 50)]
public string OldContainerOwner { get; set; }
/// <summary>
/// Desc:租箱客户Id
/// </summary>
4 months ago
[SqlSugar.SugarColumn(ColumnDescription = "租箱客户Id", IsNullable = true, DefaultValue = "0")]
4 months ago
public long RentCustomerId { get; set; }
/// <summary>
/// Desc:租箱客户
/// </summary>
[SugarColumn(ColumnDescription = "租箱客户", IsNullable = true, Length = 50)]
public string RentCustomerName { get; set; }
/// <summary>
/// Desc:业务日期
/// </summary>
[SugarColumn(ColumnDescription = "业务日期", IsNullable = true)]
public DateTime? Bsdate { get; set; }
/// <summary>
/// Desc:会计期间
/// </summary>
[SugarColumn(ColumnDescription = "会计期间", IsNullable = true, Length = 7)]
public string Accdate { get; set; }
/// <summary>
/// Desc:是否业务锁定
/// </summary>
[SugarColumn(ColumnDescription = "是否业务锁定", IsNullable = false, DefaultValue = "0")]
public bool? IsBusinessLocking { get; set; } = false;
/// <summary>
/// Desc:是否费用锁定
/// </summary>
[SugarColumn(ColumnDescription = "是否费用锁定", IsNullable = false, DefaultValue = "0")]
public bool? IsFeeLocking { get; set; } = false;
/// <summary>
/// Desc:提箱港口代码
/// </summary>
[SugarColumn(ColumnDescription = "提箱港口代码", IsNullable = true, Length = 20)]
public long? PickupPortid { get; set; }
4 months ago
/// <summary>
4 months ago
/// Desc:提箱港口五字码
/// </summary>
[SugarColumn(ColumnDescription = "提箱港口五字码", IsNullable = true, Length = 10)]
public string PickupPortCode { get; set; }
/// <summary>
4 months ago
/// Desc:提箱港口
/// </summary>
[SugarColumn(ColumnDescription = "提箱港口", IsNullable = true, Length = 100)]
public string PickupPort { get; set; }
/// <summary>
/// Desc:还箱港口代码
/// </summary>
[SugarColumn(ColumnDescription = "还箱港口代码", IsNullable = true, Length = 20)]
public long? DropoffPortid { get; set; }
4 months ago
/// <summary>
4 months ago
/// Desc:还箱港口五字码
/// </summary>
[SugarColumn(ColumnDescription = "还箱港口五字码", IsNullable = true, Length = 20)]
public string DropoffPortCode { get; set; }
/// <summary>
4 months ago
/// Desc:还箱港口
/// </summary>
[SugarColumn(ColumnDescription = "还箱港口", IsNullable = true, Length = 100)]
public string DropoffPort { get; set; }
/// <summary>
/// Desc:ETD
/// </summary>
[SugarColumn(ColumnDescription = "ETD", IsNullable = true)]
public DateTime? ETD { get; set; }
/// <summary>
/// Desc:ETD
/// </summary>
[SugarColumn(ColumnDescription = "ETA", IsNullable = true)]
public DateTime? ETA { get; set; }
/// <summary>
/// Desc:当前业务编号
/// </summary>
[SugarColumn(ColumnDescription = "当前业务编号", IsNullable = true, Length = 50)]
public string Mblno { get; set; }
/// <summary>
/// Desc:备注
/// </summary>
[SugarColumn(ColumnDescription = "备注", IsNullable = true, Length = 500)]
public string Remark { get; set; }
4 months ago
/// <summary>
/// Desc:所有箱号
/// </summary>
[SugarColumn(ColumnDescription = "所有箱号", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string CntrnoAll { get; set; }
/// <summary>
/// Desc:全部箱
/// </summary>
[SugarColumn(ColumnDescription = "全部箱", IsNullable = true, Length = 200)]
public string Ctntotal { get; set; }
/// <summary>
/// Desc:已提箱
/// </summary>
[SugarColumn(ColumnDescription = "已提箱", IsNullable = true, Length = 200)]
public string PickupCtntotal { get; set; }
/// <summary>
/// Desc:未提箱
/// </summary>
[SugarColumn(ColumnDescription = "未提箱", IsNullable = true, Length = 200)]
public string PickupRemainCtntotal { get; set; }
/// <summary>
/// Desc:已还箱
/// </summary>
[SugarColumn(ColumnDescription = "已还箱", IsNullable = true, Length = 200)]
public string DropoffCtntotal { get; set; }
/// <summary>
/// Desc:未还箱
/// </summary>
[SugarColumn(ColumnDescription = "未还箱", IsNullable = true, Length = 200)]
public string DropoffRemainCtntotal { get; set; }
2 months ago
/// <summary>
/// Desc:关联放箱单号
/// </summary>
[SugarColumn(ColumnDescription = "关联放箱单号", IsNullable = true, Length = 50)]
public string CtnReleaseNo { get; set; }
4 months ago
}