字段修改

master
ZR20090193-陈敬勇 9 months ago
parent fdfc555d51
commit 66e64a32c1

@ -24,7 +24,7 @@ public class CodeCountry: BaseModel<long>
/// <summary>
/// 国家英文名称
/// </summary>
[SugarColumn(ColumnDescription = "国家英文名称", Length = 200)]
[SugarColumn(ColumnDescription = "国家英文名称", Length = 200, IsNullable = true)]
public string CountryEnName { get; set; }
/// <summary>

@ -3,66 +3,76 @@ using DS.Module.Core.Data;
using SqlSugar;
namespace DS.WMS.Core.Code.Entity;
/// <summary>
/// 集装箱信息表
/// </summary>
[SqlSugar.SugarTable("op_code_ctn","集装箱信息表")]
public class CodeCtn: BaseModel<long>
[SqlSugar.SugarTable("op_code_ctn", "集装箱信息表")]
public class CodeCtn : BaseModel<long>
{
/// <summary>
/// 集装箱类型
/// </summary>
[SugarColumn(ColumnDescription = "集装箱类型", Length = 5)]
public string CtnSize { get; set; }
/// <summary>
/// 集装箱尺寸
/// </summary>
[SugarColumn(ColumnDescription = "集装箱尺寸", Length = 10)]
public string CtnType { get; set; }
/// <summary>
/// 表现形式
/// </summary>
[SugarColumn(ColumnDescription = "表现形式", Length = 10)]
public string CtnName { get; set; }
/// <summary>
/// EDI代码
/// </summary>
[SugarColumn(ColumnDescription = "EDI代码", Length = 5)]
[SugarColumn(ColumnDescription = "EDI代码", Length = 5, IsNullable = true)]
public string EdiCode { get; set; }
/// <summary>
/// 箱皮重
/// </summary>
[SugarColumn(ColumnDescription = "箱皮重", Length = 18,DecimalDigits = 3,DefaultValue ="0")]
[SugarColumn(ColumnDescription = "箱皮重", Length = 18, DecimalDigits = 3, DefaultValue = "0")]
public decimal CtnWeight { get; set; }
/// <summary>
/// 中文说明
/// </summary>
[SugarColumn(ColumnDescription = "中文说明", Length = 100)]
[SugarColumn(ColumnDescription = "中文说明", Length = 100, IsNullable = true)]
public string CnExplain { get; set; }
/// <summary>
/// 英文说明
/// </summary>
[SugarColumn(ColumnDescription = "英文说明", Length = 100)]
[SugarColumn(ColumnDescription = "英文说明", Length = 100, IsNullable = true)]
public string EnExplain { get; set; }
/// <summary>
/// AFR代码
/// </summary>
[SugarColumn(ColumnDescription = "AFR代码", Length = 10)]
[SugarColumn(ColumnDescription = "AFR代码", Length = 10, IsNullable = true)]
public string AfrCode { get; set; }
/// <summary>
/// 默认限重
/// </summary>
[SugarColumn(ColumnDescription = "默认限重", Length = 18,DecimalDigits = 3,DefaultValue ="0")]
[SugarColumn(ColumnDescription = "默认限重", Length = 18, DecimalDigits = 3, DefaultValue = "0")]
public decimal LimitWeight { get; set; }
/// <summary>
/// TEU
/// </summary>
[SugarColumn(ColumnDescription = "TEU", Length = 8,DecimalDigits = 2,DefaultValue ="0")]
[SugarColumn(ColumnDescription = "TEU", Length = 8, DecimalDigits = 2, DefaultValue = "0")]
public decimal TEU { get; set; }
/// <summary>
/// 状态 0启用 1禁用
/// </summary>
[SugarColumn(ColumnDescription = "状态",DefaultValue = "0")]
[SugarColumn(ColumnDescription = "状态", DefaultValue = "0")]
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
}

@ -13,16 +13,19 @@ public class CodeFormCopy : BaseOrgModel<long>
/// <summary>
/// 权限Id
/// </summary>
[SugarColumn(ColumnDescription = "权限Id", IsNullable = false)]
public long? PermissionId { get; set; }
/// <summary>
/// 模板名称
/// </summary>
[SugarColumn(ColumnDescription = "模板名称", IsNullable = false)]
public string TemplateName { get; set; }
/// <summary>
/// 是否公共标识
/// </summary>
[SugarColumn(ColumnDescription = "是否公共标识", IsNullable = false,DefaultValue = "0")]
public bool IsPublic { get; set; } = false;
/// <summary>
@ -34,7 +37,8 @@ public class CodeFormCopy : BaseOrgModel<long>
/// <summary>
/// 排序号
/// </summary>
public string OrderNo { get; set; }
[SugarColumn(ColumnDescription = "排序号", IsNullable = true,DefaultValue = "100")]
public int? OrderNo { get; set; } = 100;
/// <summary>
/// 状态

@ -13,6 +13,7 @@ public class CodeFormSet : BaseOrgModel<long>
/// <summary>
/// 权限Id
/// </summary>
[SugarColumn(ColumnDescription = "权限Id", IsNullable = false)]
public long? PermissionId { get; set; }
/// <summary>
@ -24,7 +25,8 @@ public class CodeFormSet : BaseOrgModel<long>
/// <summary>
/// 排序号
/// </summary>
public string OrderNo { get; set; }
[SugarColumn(ColumnDescription = "排序号", IsNullable = true,DefaultValue = "100")]
public int? OrderNo { get; set; } = 100;
/// <summary>
/// 状态

@ -17,13 +17,13 @@ public class CodeFrt: BaseModel<long>
/// <summary>
/// 中文名称
/// </summary>
[SugarColumn(ColumnDescription = "中文名称", Length = 50)]
[SugarColumn(ColumnDescription = "中文名称", Length = 50,IsNullable = true)]
public string CnName { get; set; }
/// <summary>
/// EDI代码
/// </summary>
[SugarColumn(ColumnDescription = "EDI代码", Length = 5)]
[SugarColumn(ColumnDescription = "EDI代码", Length = 5,IsNullable = true)]
public string EdiCode { get; set; }
/// <summary>

@ -24,18 +24,18 @@ public class CodeGoods: BaseModel<long>
/// <summary>
/// 物料号
/// </summary>
[SugarColumn(ColumnDescription = "物料号", Length = 50)]
[SugarColumn(ColumnDescription = "物料号", Length = 50,IsNullable = true)]
public string GoodNo { get; set; }
/// <summary>
/// 英文名称
/// </summary>
[SugarColumn(ColumnDescription = "英文名称", Length = 10)]
[SugarColumn(ColumnDescription = "英文名称", Length = 10,IsNullable = true)]
public string EnName { get; set; }
/// <summary>
/// 商品描述
/// </summary>
[SugarColumn(ColumnDescription = "商品描述", Length = 200)]
[SugarColumn(ColumnDescription = "商品描述", Length = 200,IsNullable = true)]
public string Description { get; set; }
/// <summary>
@ -75,25 +75,25 @@ public class CodeGoods: BaseModel<long>
/// <summary>
/// 海关代码
/// </summary>
[SugarColumn(ColumnDescription = "海关代码", Length = 50)]
[SugarColumn(ColumnDescription = "海关代码", Length = 50,IsNullable = true)]
public string HSCode { get; set; }
/// <summary>
/// 申报计量单位
/// </summary>
[SugarColumn(ColumnDescription = "物料号", Length = 50)]
[SugarColumn(ColumnDescription = "物料号", Length = 50,IsNullable = true)]
public string RuleUnit { get; set; }
/// <summary>
/// 法定第一计量单位
/// </summary>
[SugarColumn(ColumnDescription = "法定第一计量单位", Length = 50)]
[SugarColumn(ColumnDescription = "法定第一计量单位", Length = 50,IsNullable = true)]
public string RuleUnit1 { get; set; }
/// <summary>
/// 法定第二计量单位
/// </summary>
[SugarColumn(ColumnDescription = "法定第二计量单位", Length = 50)]
[SugarColumn(ColumnDescription = "法定第二计量单位", Length = 50,IsNullable = true)]
public string RuleUnit2 { get; set; }
/// <summary>
/// 状态 0启用 1禁用

@ -24,12 +24,12 @@ public class CodeGoodsType: BaseModel<long>
/// <summary>
/// 英文名称
/// </summary>
[SugarColumn(ColumnDescription = "英文名称", Length = 10)]
[SugarColumn(ColumnDescription = "英文名称", Length = 10,IsNullable = true)]
public string EnName { get; set; }
/// <summary>
/// 描述
/// </summary>
[SugarColumn(ColumnDescription = "描述", Length = 200)]
[SugarColumn(ColumnDescription = "描述", Length = 200,IsNullable = true)]
public string Description { get; set; }
/// <summary>
/// 状态 0启用 1禁用

@ -23,12 +23,12 @@ public class CodeIssueType: BaseModel<long>
/// <summary>
/// 正本份数
/// </summary>
[SugarColumn(ColumnDescription = "正本份数", Length = 5)]
[SugarColumn(ColumnDescription = "正本份数", Length = 5,IsNullable = true)]
public string NoBill { get; set; }
/// <summary>
/// 副本份数
/// </summary>
[SugarColumn(ColumnDescription = "副本份数", Length = 5)]
[SugarColumn(ColumnDescription = "副本份数", Length = 5,IsNullable = true)]
public string CopyNoBill { get; set; }
/// <summary>
/// 状态 0启用 1禁用

@ -22,29 +22,29 @@ public class CodeLanes: BaseModel<long>
/// <summary>
/// 航线英文名称
/// </summary>
[SugarColumn(ColumnDescription = "航线英文名称", Length = 20)]
[SugarColumn(ColumnDescription = "航线英文名称", Length = 20,IsNullable = true)]
public string LaneEnName { get; set; }
/// <summary>
/// 默认操作员
/// </summary>
[SugarColumn(ColumnDescription = "默认操作员")]
[SugarColumn(ColumnDescription = "默认操作员",IsNullable = true)]
public long Operator { get; set; }
/// <summary>
/// 默认单证
/// </summary>
[SugarColumn(ColumnDescription = "默认单证")]
[SugarColumn(ColumnDescription = "默认单证",IsNullable = true)]
public long VouchingClerk { get; set; }
/// <summary>
/// 默认客服
/// </summary>
[SugarColumn(ColumnDescription = "默认客服")]
[SugarColumn(ColumnDescription = "默认客服",IsNullable = true)]
public long CustomerService { get; set; }
/// <summary>
/// EDI代码
/// </summary>
[SugarColumn(ColumnDescription = "EDI代码", Length = 5)]
[SugarColumn(ColumnDescription = "EDI代码", Length = 5,IsNullable = true)]
public string EdiCode { get; set; }
/// <summary>

@ -18,17 +18,17 @@ public class CodePackage: BaseModel<long>
/// <summary>
/// 中文说明
/// </summary>
[SugarColumn(ColumnDescription = "中文说明", Length = 100)]
[SugarColumn(ColumnDescription = "中文说明", Length = 100,IsNullable = true)]
public string CnExplain { get; set; }
/// <summary>
/// AFR代码
/// </summary>
[SugarColumn(ColumnDescription = "AFR代码", Length = 10)]
[SugarColumn(ColumnDescription = "AFR代码", Length = 10,IsNullable = true)]
public string AfrCode { get; set; }
/// <summary>
/// EDI代码
/// </summary>
[SugarColumn(ColumnDescription = "EDI代码", Length = 5)]
[SugarColumn(ColumnDescription = "EDI代码", Length = 5,IsNullable = true)]
public string EdiCode { get; set; }
/// <summary>
/// 状态 0启用 1禁用

@ -22,7 +22,7 @@ public class CodePort: BaseModel<long>
/// <summary>
/// 国家名称
/// </summary>
[SugarColumn(ColumnDescription = "国家名称", Length = 80)]
[SugarColumn(ColumnDescription = "国家名称", Length = 80,IsNullable = true)]
public string CountryName { get; set; }
/// <summary>
/// 所在大洲
@ -42,17 +42,17 @@ public class CodePort: BaseModel<long>
/// <summary>
/// 国家Id
/// </summary>
[SugarColumn(ColumnDescription = "国家Id")]
[SugarColumn(ColumnDescription = "国家Id",IsNullable = true)]
public long CountryId { get; set; }
/// <summary>
/// 航线Id
/// </summary>
[SugarColumn(ColumnDescription = "航线Id")]
[SugarColumn(ColumnDescription = "航线Id",IsNullable = true)]
public long LaneId { get; set; }
/// <summary>
/// EDI代码
/// </summary>
[SugarColumn(ColumnDescription = "EDI代码", Length = 5)]
[SugarColumn(ColumnDescription = "EDI代码", Length = 5,IsNullable = true)]
public string EdiCode { get; set; }
/// <summary>

@ -23,7 +23,7 @@ public class CodeSourceDetail: BaseModel<long>
/// <summary>
/// 英文名称
/// </summary>
[SugarColumn(ColumnDescription = "英文名称", Length = 100)]
[SugarColumn(ColumnDescription = "英文名称", Length = 100,IsNullable = true)]
public string EnName { get; set; }
/// <summary>
/// 状态 0启用 1禁用

@ -28,7 +28,7 @@ public class CodeStlMode: BaseModel<long>
/// <summary>
/// 财务软件代码
/// </summary>
[SugarColumn(ColumnDescription = "财务软件代码", Length = 30)]
[SugarColumn(ColumnDescription = "财务软件代码", Length = 30,IsNullable = true)]
public string FinanceSoftCode { get; set; }
/// <summary>

@ -22,7 +22,7 @@ public class CodeVessel: BaseModel<long>
/// <summary>
/// 船公司Id
/// </summary>
[SugarColumn(ColumnDescription = "船公司Id")]
[SugarColumn(ColumnDescription = "船公司Id",IsNullable = true)]
public long CarrierId { get; set; }
/// <summary>
@ -34,7 +34,7 @@ public class CodeVessel: BaseModel<long>
/// <summary>
/// EDI代码-船舶呼号
/// </summary>
[SugarColumn(ColumnDescription = "EDI代码-船舶呼号", Length = 5)]
[SugarColumn(ColumnDescription = "EDI代码-船舶呼号", Length = 5,IsNullable = true)]
public string EdiCode { get; set; }
/// <summary>

@ -25,19 +25,19 @@ public class InfoClient : BaseOrgModel<long>
/// <summary>
/// Desc:客户中文名称或描述信息
/// </summary>
[SugarColumn(ColumnDescription = "客户中文名称或描述信息", Length = 50)]
[SugarColumn(ColumnDescription = "客户中文名称或描述信息", IsNullable = true, Length = 50)]
public string Description { get; set; }
/// <summary>
/// Desc:客户英文简称
/// </summary>
[SugarColumn(ColumnDescription = "客户英文简称", Length = 50)]
[SugarColumn(ColumnDescription = "客户英文简称", IsNullable = true, Length = 50)]
public string Name { get; set; }
/// <summary>
/// Desc:客户英文全称
/// </summary>
[SugarColumn(ColumnDescription = "客户英文全称", Length = 50)]
[SugarColumn(ColumnDescription = "客户英文全称", IsNullable = true, Length = 50)]
public string EnFullName { get; set; }
/// <summary>
@ -49,7 +49,7 @@ public class InfoClient : BaseOrgModel<long>
/// <summary>
/// Desc:通讯地址
/// </summary>
[SugarColumn(ColumnDescription = "通讯地址", Length = 1000)]
[SugarColumn(ColumnDescription = "通讯地址", IsNullable = true, Length = 1000)]
public string Address { get; set; }
/// <summary>
@ -61,147 +61,147 @@ public class InfoClient : BaseOrgModel<long>
/// <summary>
/// Desc:网页
/// </summary>
[SugarColumn(ColumnDescription = "网页", Length = 50)]
[SugarColumn(ColumnDescription = "网页", IsNullable = true, Length = 50)]
public string Web { get; set; }
/// <summary>
/// Desc:电话
/// </summary>
[SugarColumn(ColumnDescription = "电话", Length = 50)]
[SugarColumn(ColumnDescription = "电话", IsNullable = true, Length = 50)]
public string Tel { get; set; }
/// <summary>
/// Desc:传真
/// </summary>
[SugarColumn(ColumnDescription = "传真", Length = 50)]
[SugarColumn(ColumnDescription = "传真", IsNullable = true, Length = 50)]
public string Fax { get; set; }
/// <summary>
/// Desc:负责人
/// </summary>
[SugarColumn(ColumnDescription = "负责人", Length = 20)]
[SugarColumn(ColumnDescription = "负责人", IsNullable = true, Length = 20)]
public string Chief { get; set; }
/// <summary>
/// Desc:所属揽货人
/// </summary>
[SugarColumn(ColumnDescription = "所属揽货人")]
[SugarColumn(ColumnDescription = "所属揽货人", IsNullable = true)]
public long SaleId { get; set; }
/// <summary>
/// Desc:所属操作人
/// </summary>
[SugarColumn(ColumnDescription = "所属操作人")]
[SugarColumn(ColumnDescription = "所属操作人", IsNullable = true)]
public long Op { get; set; }
/// <summary>
/// Desc:所属单证
/// </summary>
[SugarColumn(ColumnDescription = "所属单证")]
[SugarColumn(ColumnDescription = "所属单证", IsNullable = true)]
public long Doc { get; set; }
/// <summary>
/// Desc:国家
/// </summary>
[SugarColumn(ColumnDescription = "国家", Length = 50)]
[SugarColumn(ColumnDescription = "国家", Length = 50, IsNullable = true)]
public string Country { get; set; }
/// <summary>
/// Desc:省或州
/// </summary>
[SugarColumn(ColumnDescription = "省或州", Length = 50)]
[SugarColumn(ColumnDescription = "省或州", Length = 50, IsNullable = true)]
public string Province { get; set; }
/// <summary>
/// Desc:城市
/// </summary>
[SugarColumn(ColumnDescription = "城市", Length = 50)]
[SugarColumn(ColumnDescription = "城市", Length = 50, IsNullable = true)]
public string City { get; set; }
/// <summary>
/// Desc:提单信息
/// </summary>
[SugarColumn(ColumnDescription = "提单信息", Length = 600)]
[SugarColumn(ColumnDescription = "提单信息", Length = 600, IsNullable = true)]
public string BLContent { get; set; }
/// <summary>
/// Desc:是否停用该客户信息
/// </summary>
[SugarColumn(ColumnDescription = "是否停用该客户信息")]
[SugarColumn(ColumnDescription = "是否停用该客户信息",DefaultValue = "0")]
public bool? IsStop { get; set; } = false;
/// <summary>
/// Desc:发票抬头1
/// </summary>
[SugarColumn(ColumnDescription = "发票抬头1", Length = 60)]
[SugarColumn(ColumnDescription = "发票抬头1", Length = 60, IsNullable = true)]
public string BillRises1 { get; set; }
/// <summary>
/// Desc:发票抬头2
/// </summary>
[SugarColumn(ColumnDescription = "发票抬头2", Length = 60)]
[SugarColumn(ColumnDescription = "发票抬头2", Length = 60, IsNullable = true)]
public string BillRises2 { get; set; }
/// <summary>
/// Desc:美元支票抬头
/// </summary>
[SugarColumn(ColumnDescription = "美元支票抬头", Length = 60)]
[SugarColumn(ColumnDescription = "美元支票抬头", Length = 60, IsNullable = true)]
public string USDBillRises { get; set; }
/// <summary>
/// Desc:人民币支票抬头
/// </summary>
[SugarColumn(ColumnDescription = "人民币支票抬头", Length = 60)]
[SugarColumn(ColumnDescription = "人民币支票抬头", Length = 60, IsNullable = true)]
public string RMBBillRises { get; set; }
/// <summary>
/// Desc:人民币开户银行
/// </summary>
[SugarColumn(ColumnDescription = "人民币开户银行", Length = 60)]
[SugarColumn(ColumnDescription = "人民币开户银行", Length = 60, IsNullable = true)]
public string RMBBank { get; set; }
/// <summary>
/// Desc:人民币账号
/// </summary>
[SugarColumn(ColumnDescription = "人民币账号", Length = 30)]
[SugarColumn(ColumnDescription = "人民币账号", Length = 30, IsNullable = true)]
public string RMBAccount { get; set; }
/// <summary>
/// Desc:人民币联机行号
/// </summary>
[SugarColumn(ColumnDescription = "人民币联机行号", Length = 20)]
[SugarColumn(ColumnDescription = "人民币联机行号", Length = 20, IsNullable = true)]
public string RMBOnlineNO { get; set; }
/// <summary>
/// Desc:美元开户银行
/// </summary>
[SugarColumn(ColumnDescription = "美元开户银行", Length = 60)]
[SugarColumn(ColumnDescription = "美元开户银行", Length = 60, IsNullable = true)]
public string USDBank { get; set; }
/// <summary>
/// Desc:美元账号
/// </summary>
[SugarColumn(ColumnDescription = "美元账号", Length = 30)]
[SugarColumn(ColumnDescription = "美元账号", Length = 30, IsNullable = true)]
public string USDAccount { get; set; }
/// <summary>
/// Desc:美元联机行号
/// </summary>
[SugarColumn(ColumnDescription = "美元联机行号", Length = 20)]
[SugarColumn(ColumnDescription = "美元联机行号", Length = 20, IsNullable = true)]
public string USDOnlineNO { get; set; }
/// <summary>
/// Desc:自定义属性1
/// </summary>
[SugarColumn(ColumnDescription = "自定义属性1", Length = 12)]
[SugarColumn(ColumnDescription = "自定义属性1", Length = 12, IsNullable = true)]
public string CustomAttributes1 { get; set; }
/// <summary>
/// Desc:自定义属性2
/// </summary>
[SugarColumn(ColumnDescription = "自定义属性2", Length = 12)]
[SugarColumn(ColumnDescription = "自定义属性2", Length = 12, IsNullable = true)]
public string CustomAttributes2 { get; set; }
/// <summary>
@ -225,7 +225,7 @@ public class InfoClient : BaseOrgModel<long>
/// <summary>
/// Desc:结算方式编码
/// </summary>
[SugarColumn(ColumnDescription = "结算方式编码", Length = 30)]
[SugarColumn(ColumnDescription = "结算方式编码", Length = 30, IsNullable = true)]
public string StlName { get; set; }
@ -238,31 +238,31 @@ public class InfoClient : BaseOrgModel<long>
/// <summary>
/// Desc:月结算时间
/// </summary>
[SugarColumn(ColumnDescription = "月结算时间", Length = 2)]
[SugarColumn(ColumnDescription = "月结算时间", Length = 2, IsNullable = true)]
public string StlDate { get; set; }
/// <summary>
/// Desc:上半月结算时间
/// </summary>
[SugarColumn(ColumnDescription = "上半月结算时间", Length = 2)]
[SugarColumn(ColumnDescription = "上半月结算时间", Length = 2, IsNullable = true)]
public string StlFirstHalfDate { get; set; }
/// <summary>
/// Desc:下半月结算时间
/// </summary>
[SugarColumn(ColumnDescription = "下半月结算时间", Length = 2)]
[SugarColumn(ColumnDescription = "下半月结算时间", Length = 2, IsNullable = true)]
public string StlMiddleDate { get; set; }
/// <summary>
/// Desc:票结结算时间
/// </summary>
[SugarColumn(ColumnDescription = "发票结算时间", Length = 2)]
[SugarColumn(ColumnDescription = "发票结算时间", Length = 2, IsNullable = true)]
public string InvoiceStlDate { get; set; }
/// <summary>
/// Desc:等级
/// </summary>
[SugarColumn(ColumnDescription = "等级", Length = 1)]
[SugarColumn(ColumnDescription = "等级", Length = 1, IsNullable = true)]
public string Level { get; set; }
@ -270,44 +270,44 @@ public class InfoClient : BaseOrgModel<long>
/// <summary>
/// Desc:QQ
/// </summary>
[SugarColumn(ColumnDescription = "QQ", Length = 50)]
[SugarColumn(ColumnDescription = "QQ", Length = 50, IsNullable = true)]
public string QQ { get; set; }
/// <summary>
/// Desc:MSN
/// </summary>
[SugarColumn(ColumnDescription = "MSN", Length = 50)]
[SugarColumn(ColumnDescription = "MSN", Length = 50, IsNullable = true)]
public string MSN { get; set; }
/// <summary>
/// Desc:财务应收账款代码
/// </summary>
[SugarColumn(ColumnDescription = "财务应收账款代码", Length = 50)]
[SugarColumn(ColumnDescription = "财务应收账款代码", Length = 50, IsNullable = true)]
public string FARCode { get; set; }
/// <summary>
/// Desc:财务应付账款代码
/// </summary>
[SugarColumn(ColumnDescription = "财务应付账款代码", Length = 50)]
[SugarColumn(ColumnDescription = "财务应付账款代码", Length = 50, IsNullable = true)]
public string FAPCode { get; set; }
/// <summary>
/// Desc:冷藏费率
/// </summary>
[SugarColumn(ColumnDescription = "冷藏费率", Length = 50, DefaultValue = "0")]
[SugarColumn(ColumnDescription = "冷藏费率", Length = 50, DefaultValue = "0", IsNullable = true)]
public string UnitPrice { get; set; }
/// <summary>
/// Desc:企业备案号
/// </summary>
[SugarColumn(ColumnDescription = "企业备案号", Length = 50)]
[SugarColumn(ColumnDescription = "企业备案号", Length = 50, IsNullable = true)]
public string RegistrationNo { get; set; }
/// <summary>
/// Desc:财务序号
/// </summary>
[SugarColumn(ColumnDescription = "财务序号", Length = 50)]
[SugarColumn(ColumnDescription = "财务序号", Length = 50, IsNullable = true)]
public string OrderNo { get; set; }
@ -315,43 +315,43 @@ public class InfoClient : BaseOrgModel<long>
/// <summary>
/// Desc:纳税人识别号
/// </summary>
[SugarColumn(ColumnDescription = "纳税人识别号", Length = 30)]
[SugarColumn(ColumnDescription = "纳税人识别号", Length = 30, IsNullable = true)]
public string TaxNo { get; set; }
/// <summary>
/// Desc:EDI代码
/// </summary>
[SugarColumn(ColumnDescription = "EDI代码", Length = 20)]
[SugarColumn(ColumnDescription = "EDI代码", Length = 20, IsNullable = true)]
public string EDICode { get; set; }
/// <summary>
/// Desc:EDI代码2
/// </summary>
[SugarColumn(ColumnDescription = "EDI代码2", Length = 20)]
[SugarColumn(ColumnDescription = "EDI代码2", Length = 20, IsNullable = true)]
public string EDICode2 { get; set; }
/// <summary>
/// Desc:EDI代码3
/// </summary>
[SugarColumn(ColumnDescription = "EDI代码3", Length = 20)]
[SugarColumn(ColumnDescription = "EDI代码3", Length = 20, IsNullable = true)]
public string EDICode3 { get; set; }
/// <summary>
/// Desc:组织机构代码
/// </summary>
[SugarColumn(ColumnDescription = "组织机构代码", Length = 50)]
[SugarColumn(ColumnDescription = "组织机构代码", Length = 50, IsNullable = true)]
public string OrganizationCode { get; set; }
/// <summary>
/// Desc: 所属集团
/// </summary>
[SugarColumn(ColumnDescription = "所属集团", Length = 50)]
[SugarColumn(ColumnDescription = "所属集团", Length = 50, IsNullable = true)]
public string PcorpName { get; set; }
/// <summary>
/// Desc:企业商检备案号
/// </summary>
[SugarColumn(ColumnDescription = "商检备案号", Length = 50)]
[SugarColumn(ColumnDescription = "商检备案号", Length = 50, IsNullable = true)]
public string InspectionNo { get; set; }
/// <summary>
@ -368,7 +368,7 @@ public class InfoClient : BaseOrgModel<long>
/// <summary>
/// 审批意见
/// </summary>
[SugarColumn(ColumnDescription = "审批意见", Length = 100)]
[SugarColumn(ColumnDescription = "审批意见", Length = 100, IsNullable = true)]
public string AuditNote { get; set; }
@ -376,7 +376,7 @@ public class InfoClient : BaseOrgModel<long>
/// <summary>
/// Desc:默认付费方式
/// </summary>
[SugarColumn(ColumnDescription = "默认付费方式", Length = 20)]
[SugarColumn(ColumnDescription = "默认付费方式", Length = 20, IsNullable = true)]
public string FeeFRT { get; set; }
/// <summary>
@ -394,13 +394,13 @@ public class InfoClient : BaseOrgModel<long>
/// <summary>
/// Desc:发票银行
/// </summary>
[SugarColumn(ColumnDescription = "发票银行", Length = 150)]
[SugarColumn(ColumnDescription = "发票银行", Length = 150, IsNullable = true)]
public string InvoiceBank { get; set; }
/// <summary>
/// Desc:发票地址电话
/// </summary>
[SugarColumn(ColumnDescription = "发票地址电话", Length = 200)]
[SugarColumn(ColumnDescription = "发票地址电话", Length = 200, IsNullable = true)]
public string InvoiceAddrTel { get; set; }
/// <summary>
@ -424,19 +424,19 @@ public class InfoClient : BaseOrgModel<long>
/// <summary>
/// Desc:提成参与人
/// </summary>
[SugarColumn(ColumnDescription = "提成参与人")]
[SugarColumn(ColumnDescription = "提成参与人", IsNullable = true)]
public long CommissionUserId { get; set; }
/// <summary>
/// Desc:运输公司列表
/// </summary>
[SugarColumn(ColumnDescription = "运输公司列表", Length = 200)]
[SugarColumn(ColumnDescription = "运输公司列表", Length = 200, IsNullable = true)]
public string CarrierList { get; set; }
/// <summary>
/// Desc:集装箱尺寸
/// </summary>
[SugarColumn(ColumnDescription = "集装箱尺寸", Length = 50)]
[SugarColumn(ColumnDescription = "集装箱尺寸", Length = 50, IsNullable = true)]
public string CtnType { get; set; }
@ -449,12 +449,12 @@ public class InfoClient : BaseOrgModel<long>
/// <summary>
/// Desc:英文简称
/// </summary>
[SugarColumn(ColumnDescription = "英文简称", Length = 50)]
[SugarColumn(ColumnDescription = "英文简称", Length = 50, IsNullable = true)]
public string EnShortName { get; set; }
/// <summary>
/// Desc:仓储费开始日期模式
/// </summary>
[SugarColumn(ColumnDescription = "仓储费开始日期模式", Length = 50)]
[SugarColumn(ColumnDescription = "仓储费开始日期模式", Length = 50, IsNullable = true)]
public string WMSFeeRateType { get; set; }
}

@ -19,56 +19,56 @@ public class InfoClientAccountDate : BaseOrgModel<long>
/// <summary>
/// Desc:业务来源Id
/// </summary>
[SugarColumn(ColumnDescription = "业务来源Id")]
[SugarColumn(ColumnDescription = "业务来源Id", IsNullable = true)]
public long SourceId { get; set; }
/// <summary>
/// Desc:合同生效日期
/// </summary>
[SugarColumn(ColumnDescription = "合同生效日期")]
[SugarColumn(ColumnDescription = "合同生效日期", IsNullable = true)]
public DateTime? BeginDate { get; set; }
/// <summary>
/// Desc:合同结束日期
/// </summary>
[SugarColumn(ColumnDescription = "合同失效日期")]
[SugarColumn(ColumnDescription = "合同失效日期", IsNullable = true)]
public DateTime? EndDate { get; set; }
/// <summary>
/// Desc:业务类型
/// </summary>
[SugarColumn(ColumnDescription = "业务类型",Length = 20)]
[SugarColumn(ColumnDescription = "业务类型",Length = 20, IsNullable = true)]
public string BusinessType { get; set; }
/// <summary>
/// Desc:揽货人Id
/// </summary>
[SugarColumn(ColumnDescription = "揽货人Id")]
[SugarColumn(ColumnDescription = "揽货人Id", IsNullable = true)]
public long SaleId { get; set; }
/// <summary>
/// Desc:账期类型
/// </summary>
[SugarColumn(ColumnDescription = "账期类型",Length = 20)]
[SugarColumn(ColumnDescription = "账期类型",Length = 20, IsNullable = true)]
public string AccountType { get; set; }
/// <summary>
/// Desc:账期起算日
/// </summary>
[SugarColumn(ColumnDescription = "账期起算日",Length = 20)]
[SugarColumn(ColumnDescription = "账期起算日",Length = 20, IsNullable = true)]
public string AccountStartDate { get; set; }
/// <summary>
/// Desc:间隔月份
/// </summary>
[SugarColumn(ColumnDescription = "间隔月份")]
[SugarColumn(ColumnDescription = "间隔月份", IsNullable = true)]
public byte? AccountMonth { get; set; }
/// <summary>
/// Desc:账期日期
/// </summary>
[SugarColumn(ColumnDescription = "账期日期")]
[SugarColumn(ColumnDescription = "账期日期", IsNullable = true)]
public byte? AccountDays { get; set; }
/// <summary>
@ -81,7 +81,7 @@ public class InfoClientAccountDate : BaseOrgModel<long>
/// <summary>
/// Desc:合同Id
/// </summary>
[SugarColumn(ColumnDescription = "合同Id")]
[SugarColumn(ColumnDescription = "合同Id", IsNullable = true)]
public long ContractId { get; set; }
/// <summary>

@ -31,62 +31,62 @@ public class InfoClientBank : BaseOrgModel<long>
/// <summary>
/// Desc:银行名称
/// </summary>
[SugarColumn(ColumnDescription = "银行名称", Length = 100)]
[SugarColumn(ColumnDescription = "银行名称", Length = 100, IsNullable = true)]
public string BankName { get; set; }
/// <summary>
/// Desc:银行账户
/// </summary>
[SugarColumn(ColumnDescription = "银行账户", Length = 40)]
[SugarColumn(ColumnDescription = "银行账户", Length = 40, IsNullable = true)]
public string Account { get; set; }
/// <summary>
/// Desc:银行地址
/// </summary>
[SugarColumn(ColumnDescription = "银行地址", Length = 50)]
[SugarColumn(ColumnDescription = "银行地址", Length = 50, IsNullable = true)]
public string BankAddress { get; set; }
/// <summary>
/// Desc:财务软件代码
/// </summary>
[SugarColumn(ColumnDescription = "财务软件代码", Length = 50)]
[SugarColumn(ColumnDescription = "财务软件代码", Length = 50, IsNullable = true)]
public string FinanceSoftCode { get; set; }
/// <summary>
/// Desc:科目代码
/// </summary>
[SugarColumn(ColumnDescription = "科目代码", Length = 20)]
[SugarColumn(ColumnDescription = "科目代码", Length = 20, IsNullable = true)]
public string SubjectCode { get; set; }
/// <summary>
/// Desc:户头名称
/// </summary>
[SugarColumn(ColumnDescription = "户头名称", Length = 100)]
[SugarColumn(ColumnDescription = "户头名称", Length = 100, IsNullable = true)]
public string AccountName { get; set; }
/// <summary>
/// Desc:代理银行名称
/// </summary>
[SugarColumn(ColumnDescription = "代理银行名称", Length = 20)]
[SugarColumn(ColumnDescription = "代理银行名称", Length = 20, IsNullable = true)]
public string BankAgentName { get; set; }
/// <summary>
/// Desc:银行账号
/// </summary>
[SugarColumn(ColumnDescription = "银行账号", Length = 20)]
[SugarColumn(ColumnDescription = "银行账号", Length = 20, IsNullable = true)]
public string BankAccountNo { get; set; }
/// <summary>
/// Desc: 银行SWIFT
/// </summary>
[SugarColumn(ColumnDescription = "银行SWIFT", Length = 20)]
[SugarColumn(ColumnDescription = "银行SWIFT", Length = 20, IsNullable = true)]
public string SWIFT { get; set; }
/// <summary>
/// Desc: 国家Id
/// </summary>
[SugarColumn(ColumnDescription = "国家Id")]
[SugarColumn(ColumnDescription = "国家Id", IsNullable = true)]
public long? CountryId { get; set; }
/// <summary>

@ -32,103 +32,103 @@ public class InfoClientContact : BaseOrgModel<long>
/// <summary>
/// Desc:职务
/// </summary>
[SugarColumn(ColumnDescription = "职务", Length = 50)]
[SugarColumn(ColumnDescription = "职务", Length = 50, IsNullable = true)]
public string Job { get; set; }
/// <summary>
/// Desc:通讯地址
/// </summary>
[SugarColumn(ColumnDescription = "通讯地址", Length = 100)]
[SugarColumn(ColumnDescription = "通讯地址", Length = 100, IsNullable = true)]
public string Address { get; set; }
/// <summary>
/// Desc:邮箱
/// </summary>
[SugarColumn(ColumnDescription = "邮箱", Length = 50)]
[SugarColumn(ColumnDescription = "邮箱", Length = 50, IsNullable = true)]
public string Email { get; set; }
/// <summary>
/// Desc:手机
/// </summary>
[SugarColumn(ColumnDescription = "手机", Length = 50)]
[SugarColumn(ColumnDescription = "手机", Length = 50, IsNullable = true)]
public string Mobile { get; set; }
/// <summary>
/// Desc:电话
/// </summary>
[SugarColumn(ColumnDescription = "电话", Length = 50)]
[SugarColumn(ColumnDescription = "电话", Length = 50, IsNullable = true)]
public string Tel { get; set; }
/// <summary>
/// Desc:传真
/// </summary>
[SugarColumn(ColumnDescription = "传真", Length = 50)]
[SugarColumn(ColumnDescription = "传真", Length = 50, IsNullable = true)]
public string Fax { get; set; }
/// <summary>
/// Desc:QQ
/// </summary>
[SugarColumn(ColumnDescription = "QQ", Length = 50)]
[SugarColumn(ColumnDescription = "QQ", Length = 50, IsNullable = true)]
public string QQ { get; set; }
/// <summary>
/// Desc:是否为操作
/// </summary>
[SugarColumn(ColumnDescription = "是否为操作")]
[SugarColumn(ColumnDescription = "是否为操作",DefaultValue = "0")]
public bool? IsOperator { get; set; } = false;
/// <summary>
/// Desc:是否为财务
/// </summary>
[SugarColumn(ColumnDescription = "是否为财务")]
[SugarColumn(ColumnDescription = "是否为财务",DefaultValue = "0")]
public bool? IsFinancialStaff { get; set; } = false;
/// <summary>
/// Desc:是否为销售
/// </summary>
[SugarColumn(ColumnDescription = "是否为销售")]
[SugarColumn(ColumnDescription = "是否为销售",DefaultValue = "0")]
public bool? IsSaleMan { get; set; } = false;
/// <summary>
/// Desc:是否为其他
/// </summary>
[SugarColumn(ColumnDescription = "是否为其他")]
[SugarColumn(ColumnDescription = "是否为其他",DefaultValue = "0")]
public bool? IsOther { get; set; } = false;
/// <summary>
/// Desc:是否保险联系人
/// </summary>
[SugarColumn(ColumnDescription = "是否保险联系人")]
[SugarColumn(ColumnDescription = "是否保险联系人",DefaultValue = "0")]
public bool? IsInsurance { get; set; } = false;
/// <summary>
/// Desc:是否对账联系人
/// </summary>
[SugarColumn(ColumnDescription = "是否对账联系人")]
[SugarColumn(ColumnDescription = "是否对账联系人",DefaultValue = "0")]
public bool? IsCheckAccount { get; set; } = false;
/// <summary>
/// 提醒日期1
/// </summary>
[SugarColumn(ColumnDescription = "提醒日期1")]
[SugarColumn(ColumnDescription = "提醒日期1", IsNullable = true)]
public DateTime Anniversary1 { get; set; }
/// <summary>
/// 提醒日期2
/// </summary>
[SugarColumn(ColumnDescription = "提醒日期2")]
[SugarColumn(ColumnDescription = "提醒日期2", IsNullable = true)]
public DateTime Anniversary2 { get; set; }
/// <summary>
/// 提醒备注1
/// </summary>
[SugarColumn(ColumnDescription = "提醒备注1", Length = 200)]
[SugarColumn(ColumnDescription = "提醒备注1", Length = 200, IsNullable = true)]
public string AnniversaryNote1 { get; set; }
/// <summary>
/// 提醒备注2
/// </summary>
[SugarColumn(ColumnDescription = "提醒备注2", Length = 200)]
[SugarColumn(ColumnDescription = "提醒备注2", Length = 200, IsNullable = true)]
public string AnniversaryNote2 { get; set; }
/// <summary>

@ -23,32 +23,32 @@ public class InfoClientContract : BaseOrgModel<long>
/// <summary>
/// Desc:签订日期
/// </summary>
[SugarColumn(ColumnDescription = "签订日期")]
[SugarColumn(ColumnDescription = "签订日期", IsNullable = true)]
public DateTime SignDate { get; set; }
/// <summary>
/// Desc:起始日期
/// </summary>
[SugarColumn(ColumnDescription = "起始日期")]
[SugarColumn(ColumnDescription = "起始日期", IsNullable = true)]
public DateTime StartDate { get; set; }
/// <summary>
/// Desc:截止日期
/// </summary>
[SugarColumn(ColumnDescription = "截止日期")]
[SugarColumn(ColumnDescription = "截止日期", IsNullable = true)]
public DateTime EndDate { get; set; }
/// <summary>
/// Desc:负责人
/// </summary>
[SugarColumn(ColumnDescription = "负责人", Length = 20)]
[SugarColumn(ColumnDescription = "负责人", Length = 20, IsNullable = true)]
public string Chief { get; set; }
/// <summary>
/// Desc:签订部门Id
/// </summary>
[SugarColumn(ColumnDescription = "签订部门Id")]
[SugarColumn(ColumnDescription = "签订部门Id", IsNullable = true)]
public long DeptId { get; set; }
/// <summary>
/// Desc:合同名称
/// </summary>
[SugarColumn(ColumnDescription = "合同名称", Length = 100)]
[SugarColumn(ColumnDescription = "合同名称", Length = 100, IsNullable = true)]
public string ContractName { get; set; }
/// <summary>

@ -7,7 +7,7 @@ namespace DS.WMS.Core.Info.Entity;
/// <summary>
/// 往来单位-收发货人信息
/// </summary>
[SqlSugar.SugarTable("info_client_contact")]
[SqlSugar.SugarTable("info_client_shipper")]
public class InfoClientShipper : BaseOrgModel<long>
{
/// <summary>
@ -43,25 +43,25 @@ public class InfoClientShipper : BaseOrgModel<long>
/// <summary>
/// Desc:详细信息
/// </summary>
[SugarColumn(ColumnDescription = "详细信息", Length = 600)]
[SugarColumn(ColumnDescription = "详细信息", Length = 600, IsNullable = true)]
public string ShortDetail { get; set; }
/// <summary>
/// Desc:联系人
/// </summary>
[SugarColumn(ColumnDescription = "联系人", Length = 25)]
[SugarColumn(ColumnDescription = "联系人", Length = 25, IsNullable = true)]
public string ATTN { get; set; }
/// <summary>
/// Desc:邮箱
/// </summary>
[SugarColumn(ColumnDescription = "邮箱", Length = 50)]
[SugarColumn(ColumnDescription = "邮箱", Length = 50, IsNullable = true)]
public string Email { get; set; }
/// <summary>
/// Desc:电话
/// </summary>
[SugarColumn(ColumnDescription = "电话", Length = 50)]
[SugarColumn(ColumnDescription = "电话", Length = 50, IsNullable = true)]
public string Tel { get; set; }
// /// <summary>
@ -72,7 +72,7 @@ public class InfoClientShipper : BaseOrgModel<long>
/// <summary>
/// Desc:公司代码
/// </summary>
[SugarColumn(ColumnDescription = "公司代码", Length = 50)]
[SugarColumn(ColumnDescription = "公司代码", Length = 50, IsNullable = true)]
public string CompanyNo { get; set; }
/// <summary>

@ -16,126 +16,127 @@ public class InfoClientTag : BaseOrgModel<long>
/// <summary>
/// Desc:是否特批放单客户
/// </summary>
[SugarColumn(ColumnDescription = "是否特批放单客户", DefaultValue = "0")]
public bool? IsSpecialApproval { get; set; }
/// <summary>
/// Desc:是否船公司
/// </summary>
[SugarColumn(ColumnDescription = "是否船公司")]
[SugarColumn(ColumnDescription = "是否船公司", DefaultValue = "0")]
public bool? IsCarrier { get; set; } = false;
/// <summary>
/// Desc:是否订舱公司
/// </summary>
[SugarColumn(ColumnDescription = "是否订舱公司")]
[SugarColumn(ColumnDescription = "是否订舱公司", DefaultValue = "0")]
public bool? IsBooking { get; set; } = false;
/// <summary>
/// Desc:是否场站
/// </summary>
[SugarColumn(ColumnDescription = "是否场站")]
[SugarColumn(ColumnDescription = "是否场站", DefaultValue = "0")]
public bool? IsYard { get; set; } = false;
/// <summary>
/// Desc:是否车队
/// </summary>
[SugarColumn(ColumnDescription = "是否车队")]
[SugarColumn(ColumnDescription = "是否车队", DefaultValue = "0")]
public bool? IsTruck { get; set; } = false;
/// <summary>
/// Desc:是否委托单位
/// </summary>
[SugarColumn(ColumnDescription = "是否委托单位")]
[SugarColumn(ColumnDescription = "是否委托单位", DefaultValue = "0")]
public bool? IsController { get; set; } = false;
/// <summary>
/// Desc:是否报关行
/// </summary>
[SugarColumn(ColumnDescription = "是否报关行")]
[SugarColumn(ColumnDescription = "是否报关行", DefaultValue = "0")]
public bool? IsCustom { get; set; } = false;
/// <summary>
/// Desc:是否代理(国外)
/// </summary>
[SugarColumn(ColumnDescription = "是否代理(国外)")]
[SugarColumn(ColumnDescription = "是否代理(国外)", DefaultValue = "0")]
public bool? IsAgent { get; set; } = false;
/// <summary>
/// Desc:是否代理(国内)
/// </summary>
[SugarColumn(ColumnDescription = "是否代理(国内)")]
[SugarColumn(ColumnDescription = "是否代理(国内)", DefaultValue = "0")]
public bool? IsAgentCn { get; set; } = false;
/// <summary>
/// Desc:是否快递公司
/// </summary>
[SugarColumn(ColumnDescription = "是否快递公司")]
[SugarColumn(ColumnDescription = "是否快递公司", DefaultValue = "0")]
public bool? IsExpress { get; set; } = false;
/// <summary>
/// Desc:是否航空公司
/// </summary>
[SugarColumn(ColumnDescription = "是否航空公司")]
[SugarColumn(ColumnDescription = "是否航空公司", DefaultValue = "0")]
public bool? IsAirLines { get; set; } = false;
/// <summary>
/// Desc:是否发货人
/// </summary>
[SugarColumn(ColumnDescription = "是否发货人")]
[SugarColumn(ColumnDescription = "是否发货人", DefaultValue = "0")]
public bool? IsShipper { get; set; } = false;
/// <summary>
/// Desc:是否收货人
/// </summary>
[SugarColumn(ColumnDescription = "是否收货人")]
[SugarColumn(ColumnDescription = "是否收货人", DefaultValue = "0")]
public bool? IsConsignee { get; set; } = false;
/// <summary>
/// Desc:是否通知人
/// </summary>
[SugarColumn(ColumnDescription = "是否通知人")]
[SugarColumn(ColumnDescription = "是否通知人", DefaultValue = "0")]
public bool? IsNotifyParty { get; set; } = false;
/// <summary>
/// Desc:是否仓库
/// </summary>
[SugarColumn(ColumnDescription = "是否仓库")]
[SugarColumn(ColumnDescription = "是否仓库", DefaultValue = "0")]
public bool? IsWareHouse { get; set; }
/// <summary>
/// Desc:是否码头
/// </summary>
[SugarColumn(ColumnDescription = "是否码头")]
[SugarColumn(ColumnDescription = "是否码头", DefaultValue = "0")]
public bool? IsWharf { get; set; } = false;
/// <summary>
/// Desc:是否保险公司
/// </summary>
[SugarColumn(ColumnDescription = "是否保险公司")]
[SugarColumn(ColumnDescription = "是否保险公司", DefaultValue = "0")]
public bool? IsInsurer { get; set; } = false;
/// <summary>
/// Desc:是否租箱公司
/// </summary>
[SugarColumn(ColumnDescription = "是否租箱公司")]
[SugarColumn(ColumnDescription = "是否租箱公司", DefaultValue = "0")]
public bool? IsLeasing { get; set; } = false;
/// <summary>
/// Desc:是否贸易代理
/// </summary>
[SugarColumn(ColumnDescription = "是否贸易代理")]
[SugarColumn(ColumnDescription = "是否贸易代理", DefaultValue = "0")]
public bool? IsTradingAgency { get; set; } = false;
/// <summary>
/// Desc:是否其他
/// </summary>
[SugarColumn(ColumnDescription = "是否其他")]
[SugarColumn(ColumnDescription = "是否其他", DefaultValue = "0")]
public bool? IsOther { get; set; } = false;
/// <summary>
/// Desc:其他类型
/// </summary>
[SugarColumn(ColumnDescription = "其他类型", Length = 100)]
[SugarColumn(ColumnDescription = "其他类型", Length = 100,IsNullable = true)]
public string Others { get; set; }

@ -27,13 +27,13 @@ public class SaasTest
{
Type[] types= Assembly
.LoadFrom("DS.WMS.Core.dll")//如果 .dll报错可以换成 xxx.exe 有些生成的是exe
.GetTypes().Where(it=>it.FullName.Contains("DS.WMS.Core.Code.Entity."))//命名空间过滤,当然你也可以写其他条件过滤
.GetTypes().Where(it=>it.FullName.Contains("DS.WMS.Core.Code.Entity.")||it.FullName.Contains("DS.WMS.Core.Info.Entity."))//命名空间过滤,当然你也可以写其他条件过滤
.ToArray();
var tenantDb = saasService.GetBizDbScopeById("1750335377144680448");
var temp = tenantDb.CodeFirst.GetDifferenceTables(types);
// var temp = tenantDb.CodeFirst.GetDifferenceTables(types);
// var diffString= tenantDb.CodeFirst.GetDifferenceTables(types).ToDiffString();
// StaticConfig.CodeFirst_MySqlCollate="utf8mb4_0900_ai_ci";//较高版本支持
// tenantDb.CodeFirst.InitTables(types);
StaticConfig.CodeFirst_MySqlCollate="utf8mb4_0900_ai_ci";//较高版本支持
tenantDb.CodeFirst.InitTables(types);
// //初始化数库
// tenantDb.DbMaintenance.CreateDatabase();
//

Loading…
Cancel
Save