Browse Source

[CI SKIP] EF迁移 修改string长度

master
mahao 1 year ago
parent
commit
cbb7c0aadc
  1. 17
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/InvoiceSyncQadInvocable.cs
  2. 35
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Bases/EntityBase.cs
  3. 17
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/PUB_SE_DETAIL.cs
  4. 4
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Syncs/SyncPositionFlag.cs
  5. 3
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/TB_RePartsRelationship.cs
  6. 1
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/MaterialRelationships/MaterialRelationship.cs
  7. 12
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/Prices/PriceList.cs
  8. 6
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/Prices/PriceListYinDu.cs
  9. 6078
      code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/20231013005156_20231013-1.Designer.cs
  10. 2174
      code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/20231013005156_20231013-1.cs
  11. 325
      code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/SettleAccountDbContextModelSnapshot.cs

17
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/InvoiceSyncQadInvocable.cs

@ -53,7 +53,22 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
} }
var taskIDs = invoiceSyncQads.Select(t => t.TaskID); var taskIDs = invoiceSyncQads.Select(t => t.TaskID);
var TeaTaskSubs = _exChangeCenterDbContext.TEA_TASK_SUB.Where(t => taskIDs.Contains(t.TaskID)).ToList(); var teaTaskSubs = _exChangeCenterDbContext.TEA_TASK_SUB.Where(t => taskIDs.Contains(t.TaskID)).ToList();
invoiceSyncQads.Join(teaTaskSubs, x => x.TaskID, y => y.TaskID, (x, y) =>
{
x.UpdateTaskState(y.TaskState);
x.UpdateFailedInfo(y.FailedInfo);
return x;
});
//var query = from a in invoiceSyncQads
// from b in teaTaskSubs
// where a.TaskID == b.TaskID
// select a;
} }
} }
} }

35
code/src/Modules/SettleAccount/src/SettleAccount.Domain/Bases/EntityBase.cs

@ -351,6 +351,7 @@ namespace SettleAccount.Bases
/// <summary> /// <summary>
/// 厂内物料号 /// 厂内物料号
/// </summary> /// </summary>
[MaxLength(64)]
public virtual string PartCode { get; set; } public virtual string PartCode { get; set; }
/// <summary> /// <summary>
/// 业务分类 /// 业务分类
@ -536,11 +537,12 @@ namespace SettleAccount.Bases
/// <summary> /// <summary>
/// 客户零件号(无空格) /// 客户零件号(无空格)
/// </summary> /// </summary>
[MaxLength(100)] [MaxLength(64)]
public string CustomerPartCodeNoSpace { get; set; } public string CustomerPartCodeNoSpace { get; set; }
/// <summary> /// <summary>
/// 厂内零件号 /// 厂内零件号
/// </summary> /// </summary>
[MaxLength(64)]
public string FactoryPartCode { get; set; } public string FactoryPartCode { get; set; }
/// <summary> /// <summary>
/// 生产号 /// 生产号
@ -640,10 +642,13 @@ namespace SettleAccount.Bases
public class JisSeBase : SE_BASE public class JisSeBase : SE_BASE
{ {
[Display(Name = "日顺序号")] [Display(Name = "日顺序号")]
[MaxLength(64)]
public string SeqNumber { get; set; } public string SeqNumber { get; set; }
[Display(Name = "小总成号")] [Display(Name = "小总成号")]
[MaxLength(64)]
public string AssemblyCode { get; set; } public string AssemblyCode { get; set; }
[Display(Name = "注塑码")] [Display(Name = "注塑码")]
[MaxLength(64)]
public string InjectionCode { get; set; } public string InjectionCode { get; set; }
/// <summary> /// <summary>
/// UID /// UID
@ -656,41 +661,49 @@ namespace SettleAccount.Bases
/// </summary> /// </summary>
[Display(Name = "JIT订单号")] [Display(Name = "JIT订单号")]
[DisplayName("JIT订单号")] [DisplayName("JIT订单号")]
[MaxLength(64)]
public string JISNum { get; set; } public string JISNum { get; set; }
/// <summary> /// <summary>
/// JIT排序生产码 /// JIT排序生产码
/// </summary> /// </summary>
[Display(Name = "JIT排序生产码")] [Display(Name = "JIT排序生产码")]
[MaxLength(64)]
public string VinCode { get; set; } public string VinCode { get; set; }
/// <summary> /// <summary>
/// JIT排序生产码类型 /// JIT排序生产码类型
/// </summary> /// </summary>
[Display(Name = "JIT排序生产码类型")] [Display(Name = "JIT排序生产码类型")]
[MaxLength(64)]
public string CodeType { get; set; } public string CodeType { get; set; }
/// <summary> /// <summary>
/// 订单零件号 /// 订单零件号
/// </summary> /// </summary>
[Display(Name = "订单零件号")] [Display(Name = "订单零件号")]
[MaxLength(64)]
public string PartCode { get; set; } public string PartCode { get; set; }
/// <summary> /// <summary>
/// 订单零件号 /// 订单零件号
/// </summary> /// </summary>
[Display(Name = "订单零件号")] [Display(Name = "订单零件号")]
[MaxLength(64)]
public string RealPartCode { get; set; } public string RealPartCode { get; set; }
/// <summary> /// <summary>
/// 批次 /// 批次
/// </summary> /// </summary>
[Display(Name = "批次")] [Display(Name = "批次")]
[MaxLength(64)]
public string Batch { get; set; } public string Batch { get; set; }
/// <summary> /// <summary>
/// 客户零件号 /// 客户零件号
/// </summary> /// </summary>
[Display(Name = "客户零件号")] [Display(Name = "客户零件号")]
[MaxLength(64)]
public string CustPartCode { get; set; } public string CustPartCode { get; set; }
/// <summary> /// <summary>
/// 订单序号 /// 订单序号
/// </summary> /// </summary>
[Display(Name = "订单序号")] [Display(Name = "订单序号")]
[MaxLength(64)]
public string Seq { get; set; } public string Seq { get; set; }
/// <summary> /// <summary>
/// 订单时间 /// 订单时间
@ -701,11 +714,13 @@ namespace SettleAccount.Bases
/// 发货条码 /// 发货条码
/// </summary> /// </summary>
[Display(Name = "发货条码")] [Display(Name = "发货条码")]
[MaxLength(64)]
public string DeliverCode { get; set; } public string DeliverCode { get; set; }
/// <summary> /// <summary>
/// 发货单号 /// 发货单号
/// </summary> /// </summary>
[Display(Name = "发货单号")] [Display(Name = "发货单号")]
[MaxLength(64)]
public string BillNum { get; set; } public string BillNum { get; set; }
/// <summary> /// <summary>
/// 发货时间 /// 发货时间
@ -716,26 +731,31 @@ namespace SettleAccount.Bases
/// 发货人 /// 发货人
/// </summary> /// </summary>
[Display(Name = "发货人")] [Display(Name = "发货人")]
[MaxLength(64)]
public string Oper { get; set; } public string Oper { get; set; }
/// <summary> /// <summary>
/// 客户位置 /// 客户位置
/// </summary> /// </summary>
[Display(Name = "客户位置")] [Display(Name = "客户位置")]
[MaxLength(64)]
public string Position { get; set; } public string Position { get; set; }
/// <summary> /// <summary>
/// 工厂 /// 工厂
/// </summary> /// </summary>
[Display(Name = "工厂")] [Display(Name = "工厂")]
[MaxLength(64)]
public string Factory { get; set; } public string Factory { get; set; }
/// <summary> /// <summary>
/// MES配置码 /// MES配置码
/// </summary> /// </summary>
[Display(Name = "MES配置码")] [Display(Name = "MES配置码")]
[MaxLength(64)]
public string MESConfigCode { get; set; } public string MESConfigCode { get; set; }
/// <summary> /// <summary>
/// 目标库位 /// 目标库位
/// </summary> /// </summary>
[Display(Name = "目标库位")] [Display(Name = "目标库位")]
[MaxLength(64)]
public string ToLoc { get; set; } public string ToLoc { get; set; }
/// <summary> /// <summary>
/// 单据类型 /// 单据类型
@ -765,21 +785,25 @@ namespace SettleAccount.Bases
/// 单据性质 /// 单据性质
/// </summary> /// </summary>
[Display(Name = "单据性质")] [Display(Name = "单据性质")]
[MaxLength(64)]
public string BillCharacter { get; set; } public string BillCharacter { get; set; }
/// <summary> /// <summary>
/// 原生产码 /// 原生产码
/// </summary> /// </summary>
[Display(Name = "原生产码")] [Display(Name = "原生产码")]
[MaxLength(64)]
public string OrigiCode { get; set; } public string OrigiCode { get; set; }
/// <summary> /// <summary>
/// 描述 /// 描述
/// </summary> /// </summary>
[Display(Name = "描述")] [Display(Name = "描述")]
[MaxLength(64)]
public string PartDesc { get; set; } public string PartDesc { get; set; }
/// <summary> /// <summary>
/// 备注 /// 备注
/// </summary> /// </summary>
[Display(Name = "备注")] [Display(Name = "备注")]
[MaxLength(64)]
public string Remark { get; set; } public string Remark { get; set; }
/// <summary> /// <summary>
/// 业务类型 /// 业务类型
@ -790,46 +814,55 @@ namespace SettleAccount.Bases
/// JIS排序单号 /// JIS排序单号
/// </summary> /// </summary>
[Display(Name = "JIS排序单号")] [Display(Name = "JIS排序单号")]
[MaxLength(64)]
public string OrderNum { get; set; } public string OrderNum { get; set; }
/// <summary> /// <summary>
/// JIS实际生产码 /// JIS实际生产码
/// </summary> /// </summary>
[Display(Name = "JIS实际生产码")] [Display(Name = "JIS实际生产码")]
[MaxLength(64)]
public string RealCode { get; set; } public string RealCode { get; set; }
/// <summary> /// <summary>
/// 来源库位 /// 来源库位
/// </summary> /// </summary>
[Display(Name = "来源库位")] [Display(Name = "来源库位")]
[MaxLength(64)]
public string FromLoc { get; set; } public string FromLoc { get; set; }
/// <summary> /// <summary>
/// 参照订单生产码 /// 参照订单生产码
/// </summary> /// </summary>
[Display(Name = "参照订单生产码")] [Display(Name = "参照订单生产码")]
[MaxLength(64)]
public string RefVinCode { get; set; } public string RefVinCode { get; set; }
/// <summary> /// <summary>
/// 发货关联单号 /// 发货关联单号
/// </summary> /// </summary>
[Display(Name = "发货关联单号")] [Display(Name = "发货关联单号")]
[MaxLength(64)]
public string RefBillNum { get; set; } public string RefBillNum { get; set; }
/// <summary> /// <summary>
/// Erp目标库位 /// Erp目标库位
/// </summary> /// </summary>
[Display(Name = "Erp目标库位")] [Display(Name = "Erp目标库位")]
[MaxLength(64)]
public string ErpToLoc { get; set; } public string ErpToLoc { get; set; }
/// <summary> /// <summary>
/// 塑件唯一码 /// 塑件唯一码
/// </summary> /// </summary>
[Display(Name = "塑件唯一码")] [Display(Name = "塑件唯一码")]
[MaxLength(64)]
public string UniqueCode { get; set; } public string UniqueCode { get; set; }
/// <summary> /// <summary>
/// PJS顺序号 /// PJS顺序号
/// </summary> /// </summary>
[Display(Name = "PJS顺序号")] [Display(Name = "PJS顺序号")]
[MaxLength(64)]
public string PjsNum { get; set; } public string PjsNum { get; set; }
/// <summary> /// <summary>
/// 虚拟小总成 /// 虚拟小总成
/// </summary> /// </summary>
[Display(Name = "虚拟小总成")] [Display(Name = "虚拟小总成")]
[MaxLength(64)]
public string MatchNumber { get; set; } public string MatchNumber { get; set; }
/// <summary> /// <summary>
/// 状态 /// 状态

17
code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/PUB_SE_DETAIL.cs

@ -28,6 +28,7 @@ namespace SettleAccount.Domain.BQ
/// 发货单号 /// 发货单号
/// </summary> /// </summary>
[Display(Name = "发货单号")] [Display(Name = "发货单号")]
[MaxLength(64)]
public string BillNum { get; set; } public string BillNum { get; set; }
/// <summary> /// <summary>
/// 发货时间 /// 发货时间
@ -43,26 +44,31 @@ namespace SettleAccount.Domain.BQ
/// 零件号 /// 零件号
/// </summary> /// </summary>
[Display(Name = "零件号")] [Display(Name = "零件号")]
[MaxLength(64)]
public string PartCode { get; set; } public string PartCode { get; set; }
/// <summary> /// <summary>
/// 批次 /// 批次
/// </summary> /// </summary>
[Display(Name = "批次")] [Display(Name = "批次")]
[MaxLength(64)]
public string Batch { get; set; } public string Batch { get; set; }
/// <summary> /// <summary>
/// 客户零件号 /// 客户零件号
/// </summary> /// </summary>
[Display(Name = "客户零件号")] [Display(Name = "客户零件号")]
[MaxLength(64)]
public string CustPartCode { get; set; } public string CustPartCode { get; set; }
/// <summary> /// <summary>
/// 发货人 /// 发货人
/// </summary> /// </summary>
[Display(Name = "发货人")] [Display(Name = "发货人")]
[MaxLength(64)]
public string Oper { get; set; } public string Oper { get; set; }
/// <summary> /// <summary>
/// DN单据号 /// DN单据号
/// </summary> /// </summary>
[Display(Name = "DN单据号")] [Display(Name = "DN单据号")]
[MaxLength(64)]
public string DnBillNum { get; set; } public string DnBillNum { get; set; }
/// <summary> /// <summary>
/// DN单据时间 /// DN单据时间
@ -73,51 +79,61 @@ namespace SettleAccount.Domain.BQ
/// DN单添加人 /// DN单添加人
/// </summary> /// </summary>
[Display(Name = "DN单添加人")] [Display(Name = "DN单添加人")]
[MaxLength(64)]
public string DnOper { get; set; } public string DnOper { get; set; }
/// <summary> /// <summary>
/// 交付索引 /// 交付索引
/// </summary> /// </summary>
[Display(Name = "交付索引")] [Display(Name = "交付索引")]
[MaxLength(64)]
public string DeliveryIndex { get; set; } public string DeliveryIndex { get; set; }
/// <summary> /// <summary>
/// 客户 /// 客户
/// </summary> /// </summary>
[Display(Name = "客户")] [Display(Name = "客户")]
[MaxLength(64)]
public string CustId { get; set; } public string CustId { get; set; }
/// <summary> /// <summary>
/// 发货仓库 /// 发货仓库
/// </summary> /// </summary>
[Display(Name = "发货仓库")] [Display(Name = "发货仓库")]
[MaxLength(64)]
public string DeliveryHose { get; set; } public string DeliveryHose { get; set; }
/// <summary> /// <summary>
/// 来源库位 /// 来源库位
/// </summary> /// </summary>
[Display(Name = "来源库位")] [Display(Name = "来源库位")]
[MaxLength(64)]
public string FromLocCode { get; set; } public string FromLocCode { get; set; }
/// <summary> /// <summary>
/// 来源仓库 /// 来源仓库
/// </summary> /// </summary>
[Display(Name = "来源仓库")] [Display(Name = "来源仓库")]
[MaxLength(64)]
public string FromHose { get; set; } public string FromHose { get; set; }
/// <summary> /// <summary>
/// 来源ERP库存 /// 来源ERP库存
/// </summary> /// </summary>
[Display(Name = "来源ERP库存")] [Display(Name = "来源ERP库存")]
[MaxLength(64)]
public string FromErpLocCode { get; set; } public string FromErpLocCode { get; set; }
/// <summary> /// <summary>
/// 目标库位 /// 目标库位
/// </summary> /// </summary>
[Display(Name = "目标库位")] [Display(Name = "目标库位")]
[MaxLength(64)]
public string ToLocCode { get; set; } public string ToLocCode { get; set; }
/// <summary> /// <summary>
/// 目标仓库 /// 目标仓库
/// </summary> /// </summary>
[Display(Name = "目标仓库")] [Display(Name = "目标仓库")]
[MaxLength(64)]
public string ToHose { get; set; } public string ToHose { get; set; }
/// <summary> /// <summary>
/// 目标Erp库位 /// 目标Erp库位
/// </summary> /// </summary>
[Display(Name = "目标Erp库位")] [Display(Name = "目标Erp库位")]
[MaxLength(64)]
public string ToErpLocCode { get; set; } public string ToErpLocCode { get; set; }
/// <summary> /// <summary>
/// 状态 /// 状态
@ -128,6 +144,7 @@ namespace SettleAccount.Domain.BQ
/// 备注 /// 备注
/// </summary> /// </summary>
[Display(Name = "备注")] [Display(Name = "备注")]
[MaxLength(64)]
public string Remark { get; set; } public string Remark { get; set; }
/// <summary> /// <summary>
/// 单据类型 /// 单据类型

4
code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Syncs/SyncPositionFlag.cs

@ -13,14 +13,14 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// 表名称 /// 表名称
/// </summary> /// </summary>
[Display(Name = "表名称")] [Display(Name = "表名称")]
[MaxLength(64)]
public string TableName { get; set; } public string TableName { get; set; }
/// <summary> /// <summary>
/// 位置(可排序) /// 位置(可排序)
/// </summary> /// </summary>
[Display(Name = "位置")] [Display(Name = "位置")]
[MaxLength(64)]
public string Position { get; set; } public string Position { get; set; }
/// <summary> /// <summary>
/// 构造 /// 构造
/// </summary> /// </summary>

3
code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/TB_RePartsRelationship.cs

@ -13,15 +13,18 @@ namespace SettleAccount.Domain.BQ
/// 取值字段【零件号】 /// 取值字段【零件号】
/// </summary> /// </summary>
[Display(Name = "零件号")] [Display(Name = "零件号")]
[MaxLength(64)]
public string LU { set; get; } = null!; public string LU { set; get; } = null!;
/// <summary> /// <summary>
/// 取值字段【替换零件号】 /// 取值字段【替换零件号】
/// </summary> /// </summary>
[Display(Name = "替换零件号")] [Display(Name = "替换零件号")]
[MaxLength(64)]
public string RepLU { set; get; } = null!; public string RepLU { set; get; } = null!;
[Display(Name = "客户编码")] [Display(Name = "客户编码")]
[MaxLength(64)]
public string ClientCode { set; get; } = null!; public string ClientCode { set; get; } = null!;
[Display(Name = "业务类型")] [Display(Name = "业务类型")]
public EnumBusinessType BusinessType { get; set; } public EnumBusinessType BusinessType { get; set; }

1
code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/MaterialRelationships/MaterialRelationship.cs

@ -10,6 +10,7 @@ namespace Win.Sfs.SettleAccount.MaterialRelationships
{ {
get; set; get; set;
} }
[MaxLength(64)]
public string MaterialDesc public string MaterialDesc
{ {
get; set; get; set;

12
code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/Prices/PriceList.cs

@ -66,6 +66,7 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
/// 零件号 /// 零件号
/// </summary> /// </summary>
[Display(Name = "零件号")] [Display(Name = "零件号")]
[MaxLength(64)]
public string LU { get; set; } public string LU { get; set; }
/// <summary> /// <summary>
/// 价格 /// 价格
@ -86,6 +87,7 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
/// 客户编码 /// 客户编码
/// </summary> /// </summary>
[Display(Name = "客户编码")] [Display(Name = "客户编码")]
[MaxLength(64)]
public string ClientCode { get; set; } public string ClientCode { get; set; }
/// <summary> /// <summary>
/// 合同签订时间 /// 合同签订时间
@ -96,6 +98,7 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
/// 合同号 /// 合同号
/// </summary> /// </summary>
[Display(Name = "合同号")] [Display(Name = "合同号")]
[MaxLength(64)]
public string ContractNo { get; set; } public string ContractNo { get; set; }
/// <summary> /// <summary>
/// 是否作废 /// 是否作废
@ -113,15 +116,18 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
///版本 ///版本
/// </summary> /// </summary>
[Display(Name = "版本")] [Display(Name = "版本")]
[MaxLength(64)]
public string Version { set; get; } public string Version { set; get; }
[Display(Name = "客户")] [Display(Name = "客户")]
[MaxLength(64)]
public string CustomerCode { get; set; } public string CustomerCode { get; set; }
/// <summary> /// <summary>
/// 物料编号 /// 物料编号
/// </summary> /// </summary>
[Display(Name = "物料编号")] [Display(Name = "物料编号")]
[MaxLength(64)]
public string MaterialCode { set; get; } public string MaterialCode { set; get; }
/// <summary> /// <summary>
@ -193,6 +199,7 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
/// 零件号 /// 零件号
/// </summary> /// </summary>
[Display(Name = "零件号")] [Display(Name = "零件号")]
[MaxLength(64)]
public string LU { get; set; } public string LU { get; set; }
/// <summary> /// <summary>
@ -215,6 +222,7 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
/// 客户编码 /// 客户编码
/// </summary> /// </summary>
[Display(Name = "客户编码")] [Display(Name = "客户编码")]
[MaxLength(64)]
public string ClientCode { get; set; } public string ClientCode { get; set; }
/// <summary> /// <summary>
/// 合同签订时间 /// 合同签订时间
@ -225,6 +233,7 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
/// 合同号 /// 合同号
/// </summary> /// </summary>
[Display(Name = "合同号")] [Display(Name = "合同号")]
[MaxLength(64)]
public string ContractNo { get; set; } public string ContractNo { get; set; }
/// <summary> /// <summary>
/// 是否作废 /// 是否作废
@ -233,18 +242,21 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
public bool IsCancel { get; set; } public bool IsCancel { get; set; }
[Display(Name = "客户")] [Display(Name = "客户")]
[MaxLength(64)]
public string CustomerCode { get; set; } public string CustomerCode { get; set; }
/// <summary> /// <summary>
///版本 ///版本
/// </summary> /// </summary>
[Display(Name = "版本")] [Display(Name = "版本")]
[MaxLength(64)]
public string Version { set; get; } public string Version { set; get; }
/// <summary> /// <summary>
/// 物料编号 /// 物料编号
/// </summary> /// </summary>
[Display(Name = "物料编号")] [Display(Name = "物料编号")]
[MaxLength(64)]
public string MaterialCode { set; get; } public string MaterialCode { set; get; }
/// <summary> /// <summary>

6
code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/Prices/PriceListYinDu.cs

@ -13,6 +13,7 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
/// 零件号 /// 零件号
/// </summary> /// </summary>
[Display(Name = "零件号")] [Display(Name = "零件号")]
[MaxLength(64)]
public string LU { get; set; } public string LU { get; set; }
/// <summary> /// <summary>
/// 价格 /// 价格
@ -33,6 +34,7 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
/// 客户编码 /// 客户编码
/// </summary> /// </summary>
[Display(Name = "客户编码")] [Display(Name = "客户编码")]
[MaxLength(64)]
public string ClientCode { get; set; } public string ClientCode { get; set; }
/// <summary> /// <summary>
/// 合同签订时间 /// 合同签订时间
@ -43,6 +45,7 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
/// 合同号 /// 合同号
/// </summary> /// </summary>
[Display(Name = "合同号")] [Display(Name = "合同号")]
[MaxLength(64)]
public string ContractNo { get; set; } public string ContractNo { get; set; }
/// <summary> /// <summary>
/// 是否作废 /// 是否作废
@ -53,16 +56,19 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
/// 客户 /// 客户
/// </summary> /// </summary>
[Display(Name = "客户")] [Display(Name = "客户")]
[MaxLength(64)]
public string CustomerCode { get; set; } public string CustomerCode { get; set; }
/// <summary> /// <summary>
///版本 ///版本
/// </summary> /// </summary>
[Display(Name = "版本")] [Display(Name = "版本")]
[MaxLength(64)]
public string Version { set; get; } public string Version { set; get; }
/// <summary> /// <summary>
/// 物料编号 /// 物料编号
/// </summary> /// </summary>
[Display(Name = "物料编号")] [Display(Name = "物料编号")]
[MaxLength(64)]
public string MaterialCode { set; get; } public string MaterialCode { set; get; }
/// <summary> /// <summary>
/// 类型 /// 类型

6078
code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/20231013005156_20231013-1.Designer.cs

File diff suppressed because it is too large

2174
code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/20231013005156_20231013-1.cs

File diff suppressed because it is too large

325
code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/SettleAccountDbContextModelSnapshot.cs

@ -611,7 +611,8 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("nvarchar(50)"); .HasColumnType("nvarchar(50)");
b.Property<string>("PartCode") b.Property<string>("PartCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<decimal>("Price") b.Property<decimal>("Price")
.HasColumnType("decimal(18,2)"); .HasColumnType("decimal(18,2)");
@ -652,16 +653,19 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("nvarchar(50)"); .HasColumnType("nvarchar(50)");
b.Property<string>("Batch") b.Property<string>("Batch")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<DateTime>("BeginDate") b.Property<DateTime>("BeginDate")
.HasColumnType("datetime2"); .HasColumnType("datetime2");
b.Property<string>("BillCharacter") b.Property<string>("BillCharacter")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("BillNum") b.Property<string>("BillNum")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<DateTime?>("BillTime") b.Property<DateTime?>("BillTime")
.HasColumnType("datetime2"); .HasColumnType("datetime2");
@ -673,7 +677,8 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("int"); .HasColumnType("int");
b.Property<string>("CodeType") b.Property<string>("CodeType")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("ConcurrencyStamp") b.Property<string>("ConcurrencyStamp")
.IsConcurrencyToken() .IsConcurrencyToken()
@ -693,11 +698,12 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnName("CreatorId"); .HasColumnName("CreatorId");
b.Property<string>("CustPartCode") b.Property<string>("CustPartCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("CustomerPartCodeNoSpace") b.Property<string>("CustomerPartCodeNoSpace")
.HasMaxLength(100) .HasMaxLength(64)
.HasColumnType("nvarchar(100)"); .HasColumnType("nvarchar(64)");
b.Property<Guid?>("DeleterId") b.Property<Guid?>("DeleterId")
.HasColumnType("uniqueidentifier") .HasColumnType("uniqueidentifier")
@ -711,26 +717,31 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("int"); .HasColumnType("int");
b.Property<string>("DeliverCode") b.Property<string>("DeliverCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<int>("DeliverSubBillType") b.Property<int>("DeliverSubBillType")
.HasColumnType("int"); .HasColumnType("int");
b.Property<string>("ErpToLoc") b.Property<string>("ErpToLoc")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
.HasColumnType("nvarchar(max)") .HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties"); .HasColumnName("ExtraProperties");
b.Property<string>("Factory") b.Property<string>("Factory")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("FactoryPartCode") b.Property<string>("FactoryPartCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("FromLoc") b.Property<string>("FromLoc")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("InjectionCode") b.Property<string>("InjectionCode")
.HasMaxLength(50) .HasMaxLength(50)
@ -746,7 +757,8 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("bit"); .HasColumnType("bit");
b.Property<string>("JISNum") b.Property<string>("JISNum")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("KeyCode") b.Property<string>("KeyCode")
.HasMaxLength(50) .HasMaxLength(50)
@ -765,35 +777,44 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnName("LastModifierId"); .HasColumnName("LastModifierId");
b.Property<string>("MESConfigCode") b.Property<string>("MESConfigCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("MatchNumber") b.Property<string>("MatchNumber")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("Oper") b.Property<string>("Oper")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("OrderNum") b.Property<string>("OrderNum")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("OrigiCode") b.Property<string>("OrigiCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("PN") b.Property<string>("PN")
.HasMaxLength(50) .HasMaxLength(50)
.HasColumnType("nvarchar(50)"); .HasColumnType("nvarchar(50)");
b.Property<string>("PartCode") b.Property<string>("PartCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("PartDesc") b.Property<string>("PartDesc")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("PjsNum") b.Property<string>("PjsNum")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("Position") b.Property<string>("Position")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<int>("ProType") b.Property<int>("ProType")
.HasColumnType("int"); .HasColumnType("int");
@ -802,22 +823,28 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("decimal(18,2)"); .HasColumnType("decimal(18,2)");
b.Property<string>("RealCode") b.Property<string>("RealCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("RealPartCode") b.Property<string>("RealPartCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("RefBillNum") b.Property<string>("RefBillNum")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("RefVinCode") b.Property<string>("RefVinCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("Remark") b.Property<string>("Remark")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("Seq") b.Property<string>("Seq")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("SeqNumber") b.Property<string>("SeqNumber")
.HasMaxLength(50) .HasMaxLength(50)
@ -833,7 +860,8 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("int"); .HasColumnType("int");
b.Property<string>("ToLoc") b.Property<string>("ToLoc")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<int>("TransType") b.Property<int>("TransType")
.HasColumnType("int"); .HasColumnType("int");
@ -842,13 +870,15 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("bigint"); .HasColumnType("bigint");
b.Property<string>("UniqueCode") b.Property<string>("UniqueCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<int>("Version") b.Property<int>("Version")
.HasColumnType("int"); .HasColumnType("int");
b.Property<string>("VinCode") b.Property<string>("VinCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("WmsBillNum") b.Property<string>("WmsBillNum")
.HasMaxLength(50) .HasMaxLength(50)
@ -1855,7 +1885,8 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("nvarchar(50)"); .HasColumnType("nvarchar(50)");
b.Property<string>("PartCode") b.Property<string>("PartCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("Place") b.Property<string>("Place")
.HasMaxLength(64) .HasMaxLength(64)
@ -1896,16 +1927,19 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("nvarchar(50)"); .HasColumnType("nvarchar(50)");
b.Property<string>("Batch") b.Property<string>("Batch")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<DateTime>("BeginDate") b.Property<DateTime>("BeginDate")
.HasColumnType("datetime2"); .HasColumnType("datetime2");
b.Property<string>("BillCharacter") b.Property<string>("BillCharacter")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("BillNum") b.Property<string>("BillNum")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<DateTime?>("BillTime") b.Property<DateTime?>("BillTime")
.HasColumnType("datetime2"); .HasColumnType("datetime2");
@ -1917,7 +1951,8 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("int"); .HasColumnType("int");
b.Property<string>("CodeType") b.Property<string>("CodeType")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("ConcurrencyStamp") b.Property<string>("ConcurrencyStamp")
.IsConcurrencyToken() .IsConcurrencyToken()
@ -1937,11 +1972,12 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnName("CreatorId"); .HasColumnName("CreatorId");
b.Property<string>("CustPartCode") b.Property<string>("CustPartCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("CustomerPartCodeNoSpace") b.Property<string>("CustomerPartCodeNoSpace")
.HasMaxLength(100) .HasMaxLength(64)
.HasColumnType("nvarchar(100)"); .HasColumnType("nvarchar(64)");
b.Property<Guid?>("DeleterId") b.Property<Guid?>("DeleterId")
.HasColumnType("uniqueidentifier") .HasColumnType("uniqueidentifier")
@ -1955,26 +1991,31 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("int"); .HasColumnType("int");
b.Property<string>("DeliverCode") b.Property<string>("DeliverCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<int>("DeliverSubBillType") b.Property<int>("DeliverSubBillType")
.HasColumnType("int"); .HasColumnType("int");
b.Property<string>("ErpToLoc") b.Property<string>("ErpToLoc")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
.HasColumnType("nvarchar(max)") .HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties"); .HasColumnName("ExtraProperties");
b.Property<string>("Factory") b.Property<string>("Factory")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("FactoryPartCode") b.Property<string>("FactoryPartCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("FromLoc") b.Property<string>("FromLoc")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("InjectionCode") b.Property<string>("InjectionCode")
.HasMaxLength(50) .HasMaxLength(50)
@ -1990,7 +2031,8 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("bit"); .HasColumnType("bit");
b.Property<string>("JISNum") b.Property<string>("JISNum")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("KeyCode") b.Property<string>("KeyCode")
.HasMaxLength(50) .HasMaxLength(50)
@ -2009,35 +2051,44 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnName("LastModifierId"); .HasColumnName("LastModifierId");
b.Property<string>("MESConfigCode") b.Property<string>("MESConfigCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("MatchNumber") b.Property<string>("MatchNumber")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("Oper") b.Property<string>("Oper")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("OrderNum") b.Property<string>("OrderNum")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("OrigiCode") b.Property<string>("OrigiCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("PN") b.Property<string>("PN")
.HasMaxLength(50) .HasMaxLength(50)
.HasColumnType("nvarchar(50)"); .HasColumnType("nvarchar(50)");
b.Property<string>("PartCode") b.Property<string>("PartCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("PartDesc") b.Property<string>("PartDesc")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("PjsNum") b.Property<string>("PjsNum")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("Position") b.Property<string>("Position")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<int>("ProType") b.Property<int>("ProType")
.HasColumnType("int"); .HasColumnType("int");
@ -2046,22 +2097,28 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("decimal(18,2)"); .HasColumnType("decimal(18,2)");
b.Property<string>("RealCode") b.Property<string>("RealCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("RealPartCode") b.Property<string>("RealPartCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("RefBillNum") b.Property<string>("RefBillNum")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("RefVinCode") b.Property<string>("RefVinCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("Remark") b.Property<string>("Remark")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("Seq") b.Property<string>("Seq")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("SeqNumber") b.Property<string>("SeqNumber")
.HasMaxLength(50) .HasMaxLength(50)
@ -2077,7 +2134,8 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("int"); .HasColumnType("int");
b.Property<string>("ToLoc") b.Property<string>("ToLoc")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<int>("TransType") b.Property<int>("TransType")
.HasColumnType("int"); .HasColumnType("int");
@ -2086,13 +2144,15 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("bigint"); .HasColumnType("bigint");
b.Property<string>("UniqueCode") b.Property<string>("UniqueCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<int>("Version") b.Property<int>("Version")
.HasColumnType("int"); .HasColumnType("int");
b.Property<string>("VinCode") b.Property<string>("VinCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("WmsBillNum") b.Property<string>("WmsBillNum")
.HasMaxLength(50) .HasMaxLength(50)
@ -3698,7 +3758,8 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("nvarchar(50)"); .HasColumnType("nvarchar(50)");
b.Property<string>("PartCode") b.Property<string>("PartCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("Place") b.Property<string>("Place")
.HasMaxLength(64) .HasMaxLength(64)
@ -3735,13 +3796,15 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("datetime2"); .HasColumnType("datetime2");
b.Property<string>("Batch") b.Property<string>("Batch")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<DateTime>("BeginDate") b.Property<DateTime>("BeginDate")
.HasColumnType("datetime2"); .HasColumnType("datetime2");
b.Property<string>("BillNum") b.Property<string>("BillNum")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<DateTime?>("BillTime") b.Property<DateTime?>("BillTime")
.HasColumnType("datetime2"); .HasColumnType("datetime2");
@ -3771,14 +3834,16 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnName("CreatorId"); .HasColumnName("CreatorId");
b.Property<string>("CustId") b.Property<string>("CustId")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("CustPartCode") b.Property<string>("CustPartCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("CustomerPartCodeNoSpace") b.Property<string>("CustomerPartCodeNoSpace")
.HasMaxLength(100) .HasMaxLength(64)
.HasColumnType("nvarchar(100)"); .HasColumnType("nvarchar(64)");
b.Property<Guid?>("DeleterId") b.Property<Guid?>("DeleterId")
.HasColumnType("uniqueidentifier") .HasColumnType("uniqueidentifier")
@ -3795,19 +3860,23 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("int"); .HasColumnType("int");
b.Property<string>("DeliveryHose") b.Property<string>("DeliveryHose")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("DeliveryIndex") b.Property<string>("DeliveryIndex")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("DnBillNum") b.Property<string>("DnBillNum")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<DateTime>("DnBillTime") b.Property<DateTime>("DnBillTime")
.HasColumnType("datetime2"); .HasColumnType("datetime2");
b.Property<string>("DnOper") b.Property<string>("DnOper")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("Extend1") b.Property<string>("Extend1")
.HasMaxLength(50) .HasMaxLength(50)
@ -3826,16 +3895,20 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnName("ExtraProperties"); .HasColumnName("ExtraProperties");
b.Property<string>("FactoryPartCode") b.Property<string>("FactoryPartCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("FromErpLocCode") b.Property<string>("FromErpLocCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("FromHose") b.Property<string>("FromHose")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("FromLocCode") b.Property<string>("FromLocCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<bool>("IsDeleted") b.Property<bool>("IsDeleted")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
@ -3860,14 +3933,16 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnName("LastModifierId"); .HasColumnName("LastModifierId");
b.Property<string>("Oper") b.Property<string>("Oper")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("PN") b.Property<string>("PN")
.HasMaxLength(50) .HasMaxLength(50)
.HasColumnType("nvarchar(50)"); .HasColumnType("nvarchar(50)");
b.Property<string>("PartCode") b.Property<string>("PartCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<int>("ProType") b.Property<int>("ProType")
.HasColumnType("int"); .HasColumnType("int");
@ -3876,7 +3951,8 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("decimal(18,2)"); .HasColumnType("decimal(18,2)");
b.Property<string>("Remark") b.Property<string>("Remark")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<DateTime>("ShippingDate") b.Property<DateTime>("ShippingDate")
.HasColumnType("datetime2"); .HasColumnType("datetime2");
@ -3888,13 +3964,16 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("int"); .HasColumnType("int");
b.Property<string>("ToErpLocCode") b.Property<string>("ToErpLocCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("ToHose") b.Property<string>("ToHose")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("ToLocCode") b.Property<string>("ToLocCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<int>("TransType") b.Property<int>("TransType")
.HasColumnType("int"); .HasColumnType("int");
@ -3981,7 +4060,8 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("int"); .HasColumnType("int");
b.Property<string>("ClientCode") b.Property<string>("ClientCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("ConcurrencyStamp") b.Property<string>("ConcurrencyStamp")
.IsConcurrencyToken() .IsConcurrencyToken()
@ -4016,7 +4096,8 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnName("IsDeleted"); .HasColumnName("IsDeleted");
b.Property<string>("LU") b.Property<string>("LU")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<DateTime?>("LastModificationTime") b.Property<DateTime?>("LastModificationTime")
.HasColumnType("datetime2") .HasColumnType("datetime2")
@ -4027,7 +4108,8 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnName("LastModifierId"); .HasColumnName("LastModifierId");
b.Property<string>("RepLU") b.Property<string>("RepLU")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.HasKey("Id"); b.HasKey("Id");
@ -4529,10 +4611,12 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnName("LastModifierId"); .HasColumnName("LastModifierId");
b.Property<string>("Position") b.Property<string>("Position")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("TableName") b.Property<string>("TableName")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.HasKey("Id"); b.HasKey("Id");
@ -4585,7 +4669,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new new
{ {
Id = new Guid("ef3d8e8a-a88e-ca1f-e615-714c6bc48824"), Id = new Guid("ef3d8e8a-a88e-ca1f-e615-714c6bc48824"),
ConcurrencyStamp = "0874f575990a494fbba5def3d498c5c4", ConcurrencyStamp = "650fa7efb97a48a98ae99655da5f10b5",
Cron = "0 0 8 26 *", Cron = "0 0 8 26 *",
IsDisabled = false, IsDisabled = false,
IsRunning = false, IsRunning = false,
@ -4595,7 +4679,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new new
{ {
Id = new Guid("185c5968-e02b-267e-db2f-225fccfc9716"), Id = new Guid("185c5968-e02b-267e-db2f-225fccfc9716"),
ConcurrencyStamp = "fdd5f4bfee3e45f59aca17e59904f993", ConcurrencyStamp = "887aa288e05f486a9fc47cee5c16042c",
Cron = "0 0/1 * * * ?", Cron = "0 0/1 * * * ?",
IsDisabled = false, IsDisabled = false,
IsRunning = false, IsRunning = false,
@ -4605,7 +4689,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new new
{ {
Id = new Guid("1bb02f67-ed05-6cc1-1507-502e8f6c7a31"), Id = new Guid("1bb02f67-ed05-6cc1-1507-502e8f6c7a31"),
ConcurrencyStamp = "4c070988c0794e688b142f29fa9a3dc2", ConcurrencyStamp = "beb2a2793d944668aa12b145a4fed0af",
Cron = "0 0/1 * * * ?", Cron = "0 0/1 * * * ?",
IsDisabled = false, IsDisabled = false,
IsRunning = false, IsRunning = false,
@ -4615,7 +4699,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new new
{ {
Id = new Guid("b9b9c79f-4894-474b-4f67-b1ec121c41e5"), Id = new Guid("b9b9c79f-4894-474b-4f67-b1ec121c41e5"),
ConcurrencyStamp = "02192df2f3a54cf2bf82bea02114fb5c", ConcurrencyStamp = "8b0dcc505f594d2fae7a011bd3c9cb0b",
Cron = "0 0/30 * * * ? ", Cron = "0 0/30 * * * ? ",
IsDisabled = false, IsDisabled = false,
IsRunning = false, IsRunning = false,
@ -4625,7 +4709,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new new
{ {
Id = new Guid("49b1da12-418c-544d-fe8b-be7e5b572452"), Id = new Guid("49b1da12-418c-544d-fe8b-be7e5b572452"),
ConcurrencyStamp = "4b00fb7915934cd59f389e1b6086f99e", ConcurrencyStamp = "f7a92e81d64d410e92517b70198cb883",
Cron = "0 0/30 * * * ? ", Cron = "0 0/30 * * * ? ",
IsDisabled = false, IsDisabled = false,
IsRunning = false, IsRunning = false,
@ -4635,7 +4719,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new new
{ {
Id = new Guid("7a0dc087-a859-5863-eb6e-56f588bd779e"), Id = new Guid("7a0dc087-a859-5863-eb6e-56f588bd779e"),
ConcurrencyStamp = "0474eac208624e88b0dced81f5c8c02b", ConcurrencyStamp = "7ad9de79ed1942d58f8bdcf0f31a0182",
Cron = "0 0/30 * * * ? ", Cron = "0 0/30 * * * ? ",
IsDisabled = false, IsDisabled = false,
IsRunning = false, IsRunning = false,
@ -4645,7 +4729,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new new
{ {
Id = new Guid("6f68fc8f-b058-c3f4-e07d-722c61f3f7fa"), Id = new Guid("6f68fc8f-b058-c3f4-e07d-722c61f3f7fa"),
ConcurrencyStamp = "8eed581d18514bc191b6e97bf347fab3", ConcurrencyStamp = "d24e993891c84beead44c675d352d17c",
Cron = "0 0/30 * * * ? ", Cron = "0 0/30 * * * ? ",
IsDisabled = false, IsDisabled = false,
IsRunning = false, IsRunning = false,
@ -4655,7 +4739,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new new
{ {
Id = new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"), Id = new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"),
ConcurrencyStamp = "1c357daa79b044d29eb40312d59510e7", ConcurrencyStamp = "9db06d1651824c52ac748e70d9bdd22c",
Cron = "0 0/30 * * * ? ", Cron = "0 0/30 * * * ? ",
IsDisabled = false, IsDisabled = false,
IsRunning = false, IsRunning = false,
@ -4665,7 +4749,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new new
{ {
Id = new Guid("8f7dc23d-e2e9-3691-cfe9-545bb958e3f2"), Id = new Guid("8f7dc23d-e2e9-3691-cfe9-545bb958e3f2"),
ConcurrencyStamp = "a350bd04db4e4fd2b8baac7aad8c8f53", ConcurrencyStamp = "897a0bf76eba4d298de6997ac5451ffa",
Cron = "0 0/30 * * * ? ", Cron = "0 0/30 * * * ? ",
IsDisabled = false, IsDisabled = false,
IsRunning = false, IsRunning = false,
@ -4675,7 +4759,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new new
{ {
Id = new Guid("c1f71240-1b81-0107-8b23-ddc9811a3efe"), Id = new Guid("c1f71240-1b81-0107-8b23-ddc9811a3efe"),
ConcurrencyStamp = "005ca6fbb184402e95fd273d4142088f", ConcurrencyStamp = "2b4446c3583e4503b39f7b62d6f35701",
Cron = "0 0/30 * * * ? ", Cron = "0 0/30 * * * ? ",
IsDisabled = false, IsDisabled = false,
IsRunning = false, IsRunning = false,
@ -4685,7 +4769,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new new
{ {
Id = new Guid("c09c23ea-815f-1b43-4476-2365a8d9a60b"), Id = new Guid("c09c23ea-815f-1b43-4476-2365a8d9a60b"),
ConcurrencyStamp = "f26d7a21dec44400899cc71ed2f16a73", ConcurrencyStamp = "72bea3403a0a4ca5be463389628ee6fd",
Cron = "0 0/30 * * * ? ", Cron = "0 0/30 * * * ? ",
IsDisabled = false, IsDisabled = false,
IsRunning = false, IsRunning = false,
@ -5422,7 +5506,8 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("int"); .HasColumnType("int");
b.Property<string>("ClientCode") b.Property<string>("ClientCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("ConcurrencyStamp") b.Property<string>("ConcurrencyStamp")
.IsConcurrencyToken() .IsConcurrencyToken()
@ -5431,7 +5516,8 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnName("ConcurrencyStamp"); .HasColumnName("ConcurrencyStamp");
b.Property<string>("ContractNo") b.Property<string>("ContractNo")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("datetime2") .HasColumnType("datetime2")
@ -5459,7 +5545,8 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("bit"); .HasColumnType("bit");
b.Property<string>("LU") b.Property<string>("LU")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<DateTime?>("LastModificationTime") b.Property<DateTime?>("LastModificationTime")
.HasColumnType("datetime2") .HasColumnType("datetime2")
@ -5483,7 +5570,8 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("int"); .HasColumnType("int");
b.Property<string>("Version") b.Property<string>("Version")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.HasKey("Id"); b.HasKey("Id");
@ -5500,7 +5588,8 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("datetime2"); .HasColumnType("datetime2");
b.Property<string>("ClientCode") b.Property<string>("ClientCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("ConcurrencyStamp") b.Property<string>("ConcurrencyStamp")
.IsConcurrencyToken() .IsConcurrencyToken()
@ -5509,7 +5598,8 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnName("ConcurrencyStamp"); .HasColumnName("ConcurrencyStamp");
b.Property<string>("ContractNo") b.Property<string>("ContractNo")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("datetime2") .HasColumnType("datetime2")
@ -5537,7 +5627,8 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("bit"); .HasColumnType("bit");
b.Property<string>("LU") b.Property<string>("LU")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<DateTime?>("LastModificationTime") b.Property<DateTime?>("LastModificationTime")
.HasColumnType("datetime2") .HasColumnType("datetime2")
@ -5561,7 +5652,8 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("int"); .HasColumnType("int");
b.Property<string>("Version") b.Property<string>("Version")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.HasKey("Id"); b.HasKey("Id");
@ -5730,7 +5822,8 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("datetime2"); .HasColumnType("datetime2");
b.Property<string>("ClientCode") b.Property<string>("ClientCode")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("ConcurrencyStamp") b.Property<string>("ConcurrencyStamp")
.IsConcurrencyToken() .IsConcurrencyToken()
@ -5739,7 +5832,8 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnName("ConcurrencyStamp"); .HasColumnName("ConcurrencyStamp");
b.Property<string>("ContractNo") b.Property<string>("ContractNo")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("datetime2") .HasColumnType("datetime2")
@ -5767,7 +5861,8 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("bit"); .HasColumnType("bit");
b.Property<string>("LU") b.Property<string>("LU")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<DateTime?>("LastModificationTime") b.Property<DateTime?>("LastModificationTime")
.HasColumnType("datetime2") .HasColumnType("datetime2")
@ -5791,7 +5886,8 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("int"); .HasColumnType("int");
b.Property<string>("Version") b.Property<string>("Version")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.HasKey("Id"); b.HasKey("Id");
@ -5948,7 +6044,8 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnName("LastModifierId"); .HasColumnName("LastModifierId");
b.Property<string>("MaterialDesc") b.Property<string>("MaterialDesc")
.HasColumnType("nvarchar(max)"); .HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property<string>("SettleMaterialCode") b.Property<string>("SettleMaterialCode")
.IsRequired() .IsRequired()

Loading…
Cancel
Save