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.

375 lines
9.6 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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_other", DisableSyncStructure = true)]
public partial class OpOther {
/// <summary>
/// 业务唯一编号
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)", IsPrimary = true, IsNullable = false)]
public string BSNO { get; set; }
/// <summary>
/// 会计期间
/// </summary>
[JsonProperty, Column(DbType = "varchar(7)")]
public string ACCDATE { get; set; }
[JsonProperty]
public int BillFeeStatus { get; set; } = 0;
[JsonProperty, Column(DbType = "varchar(30)")]
public string BOOKNO { get; set; }
/// <summary>
/// 接单日期
/// </summary>
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? BSDATE { get; set; }
/// <summary>
/// 业务来源
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string BSSOURCE { get; set; }
/// <summary>
/// 来源明细
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string BSSOURCEDETAIL { get; set; }
/// <summary>
/// 业务状态接受委托false、业务封帐true和code_state 中的状态)
/// </summary>
[JsonProperty]
public bool? BSSTATUS { get; set; } = false;
/// <summary>
/// 立方数/尺码
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,4)")]
public decimal? CBM { get; set; } = 0M;
/// <summary>
/// 合同号
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)")]
public string CONTRACTNO { 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>
/// 创建人
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string CREATEUSER { get; set; }
[JsonProperty, Column(DbType = "varchar(10)")]
public string CTNALL { get; set; }
[JsonProperty]
public int? CTNNUM { get; set; }
/// <summary>
/// 委托编号(可以根据规则生成)
/// </summary>
[JsonProperty, Column(DbType = "varchar(30)")]
public string CUSTNO { get; set; }
/// <summary>
/// 委托单位
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string CUSTOMERNAME { get; set; }
/// <summary>
/// 客服员
/// </summary>
[JsonProperty, Column(DbType = "varchar(10)")]
public string CUSTSERVICE { get; set; }
[JsonProperty, Column(DbType = "varchar(100)")]
public string ENTERP { get; set; }
/// <summary>
/// 业务日期(到港/开船日期)
/// </summary>
[JsonProperty]
public DateTime? ETD { get; set; }
/// <summary>
/// 费用状态
/// </summary>
[JsonProperty]
public bool? FEESTATUS { get; set; } = false;
/// <summary>
/// 品名
/// </summary>
[JsonProperty, Column(DbType = "varchar(30)")]
public string GOODSNAME { get; set; }
/// <summary>
/// 分提单号(可以根据规则生成)
/// </summary>
[JsonProperty, Column(DbType = "varchar(30)")]
public string HBLNO { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string ISPRINTPR { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsService1 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsService10 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsService11 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsService12 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsService13 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsService14 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsService15 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsService16 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsService2 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsService3 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsService4 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsService5 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsService6 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsService7 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsService8 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsService9 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsServiceFee1 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsServiceFee10 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsServiceFee11 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsServiceFee12 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsServiceFee13 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsServiceFee14 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsServiceFee15 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsServiceFee16 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsServiceFee2 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsServiceFee3 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsServiceFee4 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsServiceFee5 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsServiceFee6 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsServiceFee7 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsServiceFee8 { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsServiceFee9 { get; set; }
/// <summary>
/// 是否生成凭证
/// </summary>
[JsonProperty]
public bool? ISVOU { get; set; } = false;
/// <summary>
/// 毛重
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,4)")]
public decimal? KGS { get; set; } = 0M;
/// <summary>
/// 件数包装
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string KINDPKGS { get; set; }
/// <summary>
/// 主提单号(可以根据规则生成)
/// </summary>
[JsonProperty, Column(DbType = "varchar(30)")]
public string MBLNO { get; set; }
/// <summary>
/// 最后一次操作时间
/// </summary>
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? MODIFIEDTIME { get; set; }
/// <summary>
/// 最后一次操作人
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string MODIFIEDUSER { get; set; }
/// <summary>
/// 净重
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,4)")]
public decimal? NETWEIGHT { get; set; } = 0M;
/// <summary>
/// 操作员
/// </summary>
[JsonProperty, Column(DbType = "varchar(10)")]
public string OP { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string OPERATOR { get; set; }
/// <summary>
/// 业务类型op_other
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)")]
public string OPLB { get; set; }
/// <summary>
/// 业务类型名称(散杂运输)
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)")]
public string OPLBNAME { get; set; }
[JsonProperty, Column(Name = "orderno", DbType = "varchar(20)")]
public string Orderno { get; set; }
/// <summary>
/// 件数
/// </summary>
[JsonProperty]
public int? PKGS { get; set; } = 0;
/// <summary>
/// 卸货地
/// </summary>
[JsonProperty, Column(DbType = "varchar(60)")]
public string PORTDISCHARGE { get; set; }
/// <summary>
/// 装货地
/// </summary>
[JsonProperty, Column(DbType = "varchar(60)")]
public string PORTLOAD { get; set; }
/// <summary>
/// 备注
/// </summary>
[JsonProperty, Column(DbType = "varchar(200)")]
public string REMARK { get; set; }
/// <summary>
/// 揽货人
/// </summary>
[JsonProperty, Column(DbType = "varchar(10)")]
public string SALE { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string SALECORPID { get; set; }
[JsonProperty]
public DateTime? STLDATE { get; set; }
[JsonProperty, Column(DbType = "varchar(30)")]
public string STLNAME { get; set; }
/// <summary>
/// 贸易方式
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string TRADETYPE { get; set; }
/// <summary>
/// 运输方式Code_trantype对应V_OP_BILL中的BSTYPE
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string TRANSTYPE { get; set; }
/// <summary>
/// 运输工具(例:船名)
/// </summary>
[JsonProperty, Column(DbType = "varchar(60)")]
public string VESSEL { get; set; }
/// <summary>
/// 凭证号
/// </summary>
[JsonProperty, Column(DbType = "varchar(12)")]
public string VOUNO { get; set; }
/// <summary>
/// 班次号(例:航次)
/// </summary>
[JsonProperty, Column(DbType = "varchar(12)")]
public string VOYNO { get; set; }
}
}