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.
255 lines
5.9 KiB
C#
255 lines
5.9 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 = "crm_quotation", DisableSyncStructure = true)]
|
|
public partial class CrmQuotation {
|
|
|
|
[JsonProperty]
|
|
public byte? BLSTATUS { get; set; } = 0;
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
public string BLTYPE { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// 船公司
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
public string CARRIER { get; set; }
|
|
|
|
/// <summary>
|
|
/// 相关联的潜在客户GID
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(100)")]
|
|
public string CLIENTGID { get; set; }
|
|
|
|
/// <summary>
|
|
/// 佣金比率
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(50)")]
|
|
public string COMMISSIONRATE { get; set; } = "";
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
public string CONTACTNAME { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// 所属分公司代码
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(36)")]
|
|
public string CORPID { get; set; }
|
|
|
|
/// <summary>
|
|
/// 目的港超期标准
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(50)")]
|
|
public string CQPORTDISCHARGE { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// 起运港超期标准
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(50)")]
|
|
public string CQPORTLOAD { 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; }
|
|
|
|
/// <summary>
|
|
/// 箱型
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(10)")]
|
|
public string CTNCODE { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// 箱量
|
|
/// </summary>
|
|
[JsonProperty]
|
|
public int? CTNNUM { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// 箱状态
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(50)")]
|
|
public string CTNSTATUS { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// 危险品等级
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
public string DCLASS { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// 客户全称
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(50)")]
|
|
public string DESCRIPTION { get; set; }
|
|
|
|
/// <summary>
|
|
/// 邮箱
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(50)")]
|
|
public string EMAIL { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// 中转港
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(60)")]
|
|
public string ENTREPORT { get; set; }
|
|
|
|
[JsonProperty]
|
|
public DateTime? ETA { get; set; }
|
|
|
|
/// <summary>
|
|
/// 开船日期
|
|
/// </summary>
|
|
[JsonProperty]
|
|
public DateTime? ETD { get; set; }
|
|
|
|
/// <summary>
|
|
/// 目的港免箱天数
|
|
/// </summary>
|
|
[JsonProperty]
|
|
public int? FBPPORTDISCHARGE { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// 起运港免箱天数
|
|
/// </summary>
|
|
[JsonProperty]
|
|
public int? FBPPORTLOAD { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// 使用代理
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(50)")]
|
|
public string FORWARDER { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// 惟一值
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(100)", IsNullable = false)]
|
|
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
|
|
|
|
/// <summary>
|
|
/// 品名
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(60)")]
|
|
public string GOODSNAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 产品类别
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(50)")]
|
|
public string GOODSTYPENAME { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// 航线
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(30)")]
|
|
public string LANE { 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 = "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(50)")]
|
|
public string QUOTATIONCODE { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// 报价日期
|
|
/// </summary>
|
|
[JsonProperty]
|
|
public DateTime? QUOTATIONDATE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(1024)")]
|
|
public string REMARK { get; set; }
|
|
|
|
/// <summary>
|
|
/// 销售
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
public string SALE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 运输条款
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(50)")]
|
|
public string SERVICE { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// 客户简称
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
public string SHORTNAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 联系方式
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(50)")]
|
|
public string TEL { get; set; } = "";
|
|
|
|
[JsonProperty, Column(DbType = "timestamp")]
|
|
public byte[] TimeMark { get; set; }
|
|
|
|
/// <summary>
|
|
/// 航程
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(50)")]
|
|
public string TT { get; set; }
|
|
|
|
/// <summary>
|
|
/// UN
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
public string UNNO { get; set; } = "";
|
|
|
|
[JsonProperty]
|
|
public DateTime? VALIDDATE { get; set; }
|
|
|
|
[JsonProperty, Column(DbType = "varchar(10)")]
|
|
public string WEEK { get; set; } = "";
|
|
|
|
}
|
|
|
|
}
|