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.
DSWMS/Vue.Net/VOL.Entity/DomainModels/WMS/OP_OTHER/OP_OTHER.cs

752 lines
19 KiB
C#

2 years ago
/*
*,
*Model
*/
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;
namespace VOL.Entity.DomainModels
{
[Entity(TableCnName = "综合业务管理",TableName = "OP_OTHER")]
public class OP_OTHER:BaseEntity
{
/// <summary>
///业务唯一编号
/// </summary>
[Key]
[Display(Name ="业务唯一编号")]
[MaxLength(100)]
[Column(TypeName="varchar(100)")]
[Required(AllowEmptyStrings=false)]
public string BSNO { get; set; }
/// <summary>
///业务类型op_other
/// </summary>
[Display(Name ="业务类型op_other")]
[MaxLength(100)]
[Column(TypeName="varchar(100)")]
public string OPLB { get; set; }
/// <summary>
///业务类型名称(散杂运输)
/// </summary>
[Display(Name ="业务类型名称(散杂运输)")]
[MaxLength(100)]
[Column(TypeName="varchar(100)")]
public string OPLBNAME { get; set; }
/// <summary>
///业务状态接受委托false、业务封帐true和code_state 中的状态)
/// </summary>
[Display(Name ="业务状态接受委托false、业务封帐true和code_state 中的状态)")]
[Column(TypeName="bit")]
public bool? BSSTATUS { get; set; }
/// <summary>
///费用状态
/// </summary>
[Display(Name ="费用状态")]
[Column(TypeName="bit")]
public bool? FEESTATUS { get; set; }
/// <summary>
///委托编号
/// </summary>
[Display(Name ="委托编号")]
[MaxLength(30)]
[Column(TypeName="varchar(30)")]
[Editable(true)]
public string CUSTNO { get; set; }
/// <summary>
///主提单号
/// </summary>
[Display(Name ="主提单号")]
[MaxLength(30)]
[Column(TypeName="varchar(30)")]
[Editable(true)]
public string MBLNO { get; set; }
/// <summary>
///分提单号(可以根据规则生成)
/// </summary>
[Display(Name ="分提单号(可以根据规则生成)")]
[MaxLength(30)]
[Column(TypeName="varchar(30)")]
public string HBLNO { get; set; }
/// <summary>
///合同号
/// </summary>
[Display(Name ="合同号")]
[MaxLength(100)]
[Column(TypeName="varchar(100)")]
[Editable(true)]
public string CONTRACTNO { get; set; }
/// <summary>
///委托单位
/// </summary>
[Display(Name ="委托单位")]
[MaxLength(20)]
[Column(TypeName="varchar(20)")]
[Editable(true)]
public string CUSTOMERNAME { get; set; }
/// <summary>
///接单日期
/// </summary>
[Display(Name ="接单日期")]
[Column(TypeName="datetime")]
[Editable(true)]
public DateTime? BSDATE { get; set; }
/// <summary>
///会计期间
/// </summary>
[Display(Name ="会计期间")]
[MaxLength(7)]
[Column(TypeName="varchar(7)")]
[Editable(true)]
public string ACCDATE { get; set; }
/// <summary>
///业务来源
/// </summary>
[Display(Name ="业务来源")]
[MaxLength(36)]
[Column(TypeName="varchar(36)")]
public string BSSOURCE { get; set; }
/// <summary>
///来源明细
/// </summary>
[Display(Name ="来源明细")]
[MaxLength(36)]
[Column(TypeName="varchar(36)")]
public string BSSOURCEDETAIL { get; set; }
/// <summary>
///操作
/// </summary>
[Display(Name ="操作")]
[MaxLength(10)]
[Column(TypeName="varchar(10)")]
[Editable(true)]
public string OP { get; set; }
/// <summary>
///客服员
/// </summary>
[Display(Name ="客服员")]
[MaxLength(10)]
[Column(TypeName="varchar(10)")]
public string CUSTSERVICE { get; set; }
/// <summary>
///揽货人
/// </summary>
[Display(Name ="揽货人")]
[MaxLength(10)]
[Column(TypeName="varchar(10)")]
public string SALE { get; set; }
/// <summary>
///分公司
/// </summary>
[Display(Name ="分公司")]
[MaxLength(36)]
[Column(TypeName="varchar(36)")]
[Editable(true)]
public string CORPID { get; set; }
/// <summary>
///运输方式Code_trantype对应V_OP_BILL中的BSTYPE
/// </summary>
[Display(Name ="运输方式Code_trantype对应V_OP_BILL中的BSTYPE")]
[MaxLength(20)]
[Column(TypeName="varchar(20)")]
public string TRANSTYPE { get; set; }
/// <summary>
///运输工具(例:船名)
/// </summary>
[Display(Name ="运输工具(例:船名)")]
[MaxLength(60)]
[Column(TypeName="varchar(60)")]
public string VESSEL { get; set; }
/// <summary>
///班次号(例:航次)
/// </summary>
[Display(Name ="班次号(例:航次)")]
[MaxLength(12)]
[Column(TypeName="varchar(12)")]
public string VOYNO { get; set; }
/// <summary>
///业务日期
/// </summary>
[Display(Name ="业务日期")]
[Column(TypeName="datetime")]
[Editable(true)]
public DateTime? ETD { get; set; }
/// <summary>
///装货地
/// </summary>
[Display(Name ="装货地")]
[MaxLength(60)]
[Column(TypeName="varchar(60)")]
public string PORTLOAD { get; set; }
/// <summary>
///卸货地
/// </summary>
[Display(Name ="卸货地")]
[MaxLength(60)]
[Column(TypeName="varchar(60)")]
public string PORTDISCHARGE { get; set; }
/// <summary>
///贸易方式
/// </summary>
[Display(Name ="贸易方式")]
[MaxLength(20)]
[Column(TypeName="varchar(20)")]
public string TRADETYPE { get; set; }
/// <summary>
///品名
/// </summary>
[Display(Name ="品名")]
[MaxLength(30)]
[Column(TypeName="varchar(30)")]
[Editable(true)]
public string GOODSNAME { get; set; }
/// <summary>
///毛重
/// </summary>
[Display(Name ="毛重")]
[Column(TypeName="numeric")]
[Editable(true)]
public decimal? KGS { get; set; }
/// <summary>
///净重
/// </summary>
[Display(Name ="净重")]
[Column(TypeName="numeric")]
[Editable(true)]
public decimal? NETWEIGHT { get; set; }
/// <summary>
///件数
/// </summary>
[Display(Name ="件数")]
[Column(TypeName="int")]
[Editable(true)]
public int? PKGS { get; set; }
/// <summary>
///件数包装
/// </summary>
[Display(Name ="件数包装")]
[MaxLength(20)]
[Column(TypeName="varchar(20)")]
public string KINDPKGS { get; set; }
/// <summary>
///立方数/尺码
/// </summary>
[Display(Name ="立方数/尺码")]
[Column(TypeName="numeric")]
[Editable(true)]
public decimal? CBM { get; set; }
/// <summary>
///是否生成凭证
/// </summary>
[Display(Name ="是否生成凭证")]
[Column(TypeName="bit")]
[Editable(true)]
public bool? ISVOU { get; set; }
/// <summary>
///凭证号
/// </summary>
[Display(Name ="凭证号")]
[MaxLength(12)]
[Column(TypeName="varchar(12)")]
[Editable(true)]
public string VOUNO { get; set; }
/// <summary>
///备注
/// </summary>
[Display(Name ="备注")]
[MaxLength(200)]
[Column(TypeName="varchar(200)")]
[Editable(true)]
public string REMARK { get; set; }
/// <summary>
///创建人
/// </summary>
[Display(Name ="创建人")]
[MaxLength(36)]
[Column(TypeName="varchar(36)")]
public string CREATEUSER { get; set; }
/// <summary>
///创建时间
/// </summary>
[Display(Name ="创建时间")]
[Column(TypeName="datetime")]
public DateTime? CREATETIME { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="MODIFIEDUSER")]
[MaxLength(36)]
[Column(TypeName="varchar(36)")]
public string MODIFIEDUSER { get; set; }
/// <summary>
///最后一次操作时间
/// </summary>
[Display(Name ="最后一次操作时间")]
[Column(TypeName="datetime")]
public DateTime? MODIFIEDTIME { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="orderno")]
[MaxLength(20)]
[Column(TypeName="varchar(20)")]
public string orderno { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="STLNAME")]
[MaxLength(30)]
[Column(TypeName="varchar(30)")]
public string STLNAME { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="STLDATE")]
[Column(TypeName="datetime")]
public DateTime? STLDATE { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="CTNALL")]
[MaxLength(10)]
[Column(TypeName="varchar(10)")]
public string CTNALL { get; set; }
/// <summary>
///箱数
/// </summary>
[Display(Name ="箱数")]
[Column(TypeName="int")]
public int? CTNNUM { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsService1")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsService1 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsService2")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsService2 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsService3")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsService3 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsService4")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsService4 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsService5")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsService5 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsService6")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsService6 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsService7")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsService7 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsService8")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsService8 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsService9")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsService9 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsService10")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsService10 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsServiceFee1")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsServiceFee1 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsServiceFee2")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsServiceFee2 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsServiceFee3")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsServiceFee3 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsServiceFee4")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsServiceFee4 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsServiceFee5")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsServiceFee5 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsServiceFee6")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsServiceFee6 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsServiceFee7")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsServiceFee7 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsServiceFee8")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsServiceFee8 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsServiceFee9")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsServiceFee9 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsServiceFee10")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsServiceFee10 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsService11")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsService11 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsService12")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsService12 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsServiceFee11")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsServiceFee11 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsServiceFee12")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsServiceFee12 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="ENTERP")]
[MaxLength(100)]
[Column(TypeName="varchar(100)")]
public string ENTERP { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsService13")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsService13 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsService14")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsService14 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsService15")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsService15 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsService16")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsService16 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsServiceFee13")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsServiceFee13 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsServiceFee14")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsServiceFee14 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsServiceFee15")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsServiceFee15 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="IsServiceFee16")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string IsServiceFee16 { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="BOOKNO")]
[MaxLength(30)]
[Column(TypeName="varchar(30)")]
public string BOOKNO { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="ISPRINTPR")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
public string ISPRINTPR { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="BillFeeStatus")]
[Column(TypeName="int")]
[Required(AllowEmptyStrings=false)]
public int BillFeeStatus { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="OPERATOR")]
[MaxLength(20)]
[Column(TypeName="varchar(20)")]
public string OPERATOR { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="SALECORPID")]
[MaxLength(36)]
[Column(TypeName="varchar(36)")]
public string SALECORPID { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="FRCUSTSERVICE")]
[MaxLength(10)]
[Column(TypeName="varchar(10)")]
public string FRCUSTSERVICE { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="CLOSINGDATE")]
[Column(TypeName="datetime")]
public DateTime? CLOSINGDATE { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="CLOSEDOCDATE")]
[Column(TypeName="datetime")]
public DateTime? CLOSEDOCDATE { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="SALEDEPT")]
[MaxLength(20)]
[Column(TypeName="varchar(20)")]
public string SALEDEPT { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="CUSTOMSER")]
[MaxLength(20)]
[Column(TypeName="varchar(20)")]
public string CUSTOMSER { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="WAREHOUSE")]
[MaxLength(20)]
[Column(TypeName="varchar(20)")]
public string WAREHOUSE { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="COUNTRYOFORIGIN")]
[MaxLength(60)]
[Column(TypeName="varchar(60)")]
public string COUNTRYOFORIGIN { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="BILLFEESTATUSTIME")]
[Column(TypeName="datetime")]
public DateTime? BILLFEESTATUSTIME { get; set; }
/// <summary>
///结算方式
/// </summary>
[Display(Name ="结算方式")]
[Column(TypeName= "tinyint")]
[Editable(true)]
public byte? STLMODE { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="TRUCKNO")]
[Column(TypeName="varchar(max)")]
[Editable(true)]
public string TRUCKNO { get; set; }
}
}