using System;
|
using System.ComponentModel.DataAnnotations.Schema;
|
using System.Data.Entity;
|
using System.Linq;
|
|
namespace iWareSql.MyDbContext
|
{
|
public partial class MyDbContext : DbContext
|
{
|
public MyDbContext()
|
: base("name=MyDbContext")
|
{
|
}
|
|
public virtual DbSet<ApprovalFlow> ApprovalFlow { get; set; }
|
public virtual DbSet<DingTalkUser> DingTalkUser { get; set; }
|
public virtual DbSet<GoViewPro> GoViewPro { get; set; }
|
public virtual DbSet<GoViewProData> GoViewProData { get; set; }
|
public virtual DbSet<SysCodeGen> SysCodeGen { get; set; }
|
public virtual DbSet<SysCodeGenConfig> SysCodeGenConfig { get; set; }
|
public virtual DbSet<SysConfig> SysConfig { get; set; }
|
public virtual DbSet<SysDictData> SysDictData { get; set; }
|
public virtual DbSet<SysDictType> SysDictType { get; set; }
|
public virtual DbSet<SysFile> SysFile { get; set; }
|
public virtual DbSet<SysJobCluster> SysJobCluster { get; set; }
|
public virtual DbSet<SysJobDetail> SysJobDetail { get; set; }
|
public virtual DbSet<SysJobTrigger> SysJobTrigger { get; set; }
|
public virtual DbSet<SysJobTriggerRecord> SysJobTriggerRecord { get; set; }
|
public virtual DbSet<SysLdap> SysLdap { get; set; }
|
public virtual DbSet<SysLogDiff> SysLogDiff { get; set; }
|
public virtual DbSet<SysLogEx> SysLogEx { get; set; }
|
public virtual DbSet<SysLogOp> SysLogOp { get; set; }
|
public virtual DbSet<SysLogVis> SysLogVis { get; set; }
|
public virtual DbSet<SysMenu> SysMenu { get; set; }
|
public virtual DbSet<SysNotice> SysNotice { get; set; }
|
public virtual DbSet<SysNoticeUser> SysNoticeUser { get; set; }
|
public virtual DbSet<SysOnlineUser> SysOnlineUser { get; set; }
|
public virtual DbSet<SysOpenAccess> SysOpenAccess { get; set; }
|
public virtual DbSet<SysOrg> SysOrg { get; set; }
|
public virtual DbSet<SysPlugin> SysPlugin { get; set; }
|
public virtual DbSet<SysPos> SysPos { get; set; }
|
public virtual DbSet<SysPrint> SysPrint { get; set; }
|
public virtual DbSet<SysRegion> SysRegion { get; set; }
|
public virtual DbSet<SysRole> SysRole { get; set; }
|
public virtual DbSet<SysRoleMenu> SysRoleMenu { get; set; }
|
public virtual DbSet<SysRoleOrg> SysRoleOrg { get; set; }
|
public virtual DbSet<SysTenant> SysTenant { get; set; }
|
public virtual DbSet<SysUser> SysUser { get; set; }
|
public virtual DbSet<SysUserExtOrg> SysUserExtOrg { get; set; }
|
public virtual DbSet<SysUserLdap> SysUserLdap { get; set; }
|
public virtual DbSet<SysUserRole> SysUserRole { get; set; }
|
public virtual DbSet<SysWechatPay> SysWechatPay { get; set; }
|
public virtual DbSet<SysWechatUser> SysWechatUser { get; set; }
|
public virtual DbSet<test_place> test_place { get; set; }
|
public virtual DbSet<Test_Student> Test_Student { get; set; }
|
public virtual DbSet<Test_Teachert> Test_Teachert { get; set; }
|
public virtual DbSet<wms_adapter_categories> wms_adapter_categories { get; set; }
|
public virtual DbSet<wms_adapter_management> wms_adapter_management { get; set; }
|
public virtual DbSet<wms_adapter_record> wms_adapter_record { get; set; }
|
public virtual DbSet<wms_base_area> wms_base_area { get; set; }
|
public virtual DbSet<wms_base_batch_rule> wms_base_batch_rule { get; set; }
|
public virtual DbSet<wms_base_business_type> wms_base_business_type { get; set; }
|
public virtual DbSet<wms_base_container> wms_base_container { get; set; }
|
public virtual DbSet<wms_base_container_packaging> wms_base_container_packaging { get; set; }
|
public virtual DbSet<wms_base_container_type> wms_base_container_type { get; set; }
|
public virtual DbSet<wms_base_control_rule> wms_base_control_rule { get; set; }
|
public virtual DbSet<wms_base_customer> wms_base_customer { get; set; }
|
public virtual DbSet<wms_base_factory> wms_base_factory { get; set; }
|
public virtual DbSet<wms_base_material> wms_base_material { get; set; }
|
public virtual DbSet<wms_base_material_customer> wms_base_material_customer { get; set; }
|
public virtual DbSet<wms_base_material_type> wms_base_material_type { get; set; }
|
public virtual DbSet<wms_base_place> wms_base_place { get; set; }
|
public virtual DbSet<wms_base_substitute_good> wms_base_substitute_good { get; set; }
|
public virtual DbSet<wms_base_unit> wms_base_unit { get; set; }
|
public virtual DbSet<wms_base_warehouse> wms_base_warehouse { get; set; }
|
public virtual DbSet<wms_config_kbcard> wms_config_kbcard { get; set; }
|
public virtual DbSet<wms_config_no_rule> wms_config_no_rule { get; set; }
|
public virtual DbSet<wms_config_print> wms_config_print { get; set; }
|
public virtual DbSet<wms_config_serial_rule> wms_config_serial_rule { get; set; }
|
public virtual DbSet<wms_config_serial_sn> wms_config_serial_sn { get; set; }
|
public virtual DbSet<wms_config_sncode_rule> wms_config_sncode_rule { get; set; }
|
public virtual DbSet<wms_config_unshelve_strategy> wms_config_unshelve_strategy { get; set; }
|
public virtual DbSet<wms_config_unshelve_strategy_choose> wms_config_unshelve_strategy_choose { get; set; }
|
public virtual DbSet<wms_config_unshelve_strategy_range> wms_config_unshelve_strategy_range { get; set; }
|
public virtual DbSet<wms_container_place> wms_container_place { get; set; }
|
public virtual DbSet<wms_container_sort> wms_container_sort { get; set; }
|
public virtual DbSet<wms_container_sort_print> wms_container_sort_print { get; set; }
|
public virtual DbSet<wms_inventory_check_order> wms_inventory_check_order { get; set; }
|
public virtual DbSet<wms_inventory_check_order_details> wms_inventory_check_order_details { get; set; }
|
public virtual DbSet<wms_inventory_check_range> wms_inventory_check_range { get; set; }
|
public virtual DbSet<wms_inventory_check_record> wms_inventory_check_record { get; set; }
|
public virtual DbSet<wms_log_action> wms_log_action { get; set; }
|
public virtual DbSet<wms_order_asn> wms_order_asn { get; set; }
|
public virtual DbSet<wms_order_asn_details> wms_order_asn_details { get; set; }
|
public virtual DbSet<wms_order_deliver> wms_order_deliver { get; set; }
|
public virtual DbSet<wms_order_deliver_details> wms_order_deliver_details { get; set; }
|
public virtual DbSet<wms_order_movement> wms_order_movement { get; set; }
|
public virtual DbSet<wms_order_movement_details> wms_order_movement_details { get; set; }
|
public virtual DbSet<wms_order_purchase> wms_order_purchase { get; set; }
|
public virtual DbSet<wms_order_purchase_details> wms_order_purchase_details { get; set; }
|
public virtual DbSet<wms_order_purchase_sn> wms_order_purchase_sn { get; set; }
|
public virtual DbSet<wms_order_qc> wms_order_qc { get; set; }
|
public virtual DbSet<wms_order_qc_details> wms_order_qc_details { get; set; }
|
public virtual DbSet<wms_order_qc_trans> wms_order_qc_trans { get; set; }
|
public virtual DbSet<wms_order_sort> wms_order_sort { get; set; }
|
public virtual DbSet<wms_order_sort_details> wms_order_sort_details { get; set; }
|
public virtual DbSet<wms_order_sort_trans> wms_order_sort_trans { get; set; }
|
public virtual DbSet<wms_record_pred_disp_history> wms_record_pred_disp_history { get; set; }
|
public virtual DbSet<wms_record_predetermine_dispense> wms_record_predetermine_dispense { get; set; }
|
public virtual DbSet<wms_record_receiving_delivery> wms_record_receiving_delivery { get; set; }
|
public virtual DbSet<wms_record_sncode_print> wms_record_sncode_print { get; set; }
|
public virtual DbSet<wms_record_stock_quan_dispense> wms_record_stock_quan_dispense { get; set; }
|
public virtual DbSet<wms_record_trans> wms_record_trans { get; set; }
|
public virtual DbSet<wms_stock_quan> wms_stock_quan { get; set; }
|
public virtual DbSet<wms_stock_quan_lock> wms_stock_quan_lock { get; set; }
|
public virtual DbSet<wms_stock_quan_out> wms_stock_quan_out { get; set; }
|
public virtual DbSet<wms_stock_quan_zero> wms_stock_quan_zero { get; set; }
|
public virtual DbSet<wms_stock_snapshot> wms_stock_snapshot { get; set; }
|
public virtual DbSet<wms_stock_snapshot_details> wms_stock_snapshot_details { get; set; }
|
public virtual DbSet<wms_stock_snapshot_group> wms_stock_snapshot_group { get; set; }
|
public virtual DbSet<wms_sys_basic_data> wms_sys_basic_data { get; set; }
|
public virtual DbSet<wms_sys_help_doc> wms_sys_help_doc { get; set; }
|
public virtual DbSet<wms_sys_pda_menu> wms_sys_pda_menu { get; set; }
|
public virtual DbSet<wms_sys_pda_role_menu> wms_sys_pda_role_menu { get; set; }
|
public virtual DbSet<wms_task> wms_task { get; set; }
|
public virtual DbSet<zero_database_info> zero_database_info { get; set; }
|
public virtual DbSet<zero_entity_column_info> zero_entity_column_info { get; set; }
|
public virtual DbSet<zero_entity_info> zero_entity_info { get; set; }
|
public virtual DbSet<zero_interface_category> zero_interface_category { get; set; }
|
public virtual DbSet<zero_interface_list> zero_interface_list { get; set; }
|
public virtual DbSet<zero_user_info> zero_user_info { get; set; }
|
public virtual DbSet<v_empty_place> v_empty_place { get; set; }
|
public virtual DbSet<v_stock_boardabc> v_stock_boardabc { get; set; }
|
public virtual DbSet<v_students> v_students { get; set; }
|
public virtual DbSet<v_ware_age_warm> v_ware_age_warm { get; set; }
|
public virtual DbSet<v_ware_PurchaseOrderDetailsForPDA> v_ware_PurchaseOrderDetailsForPDA { get; set; }
|
public virtual DbSet<v_wms_base_container> v_wms_base_container { get; set; }
|
public virtual DbSet<v_wms_config_unshelve_strategy_range> v_wms_config_unshelve_strategy_range { get; set; }
|
public virtual DbSet<v_wms_inventory_check_order_details_order> v_wms_inventory_check_order_details_order { get; set; }
|
public virtual DbSet<v_wms_order_movement_details_for_dispense> v_wms_order_movement_details_for_dispense { get; set; }
|
public virtual DbSet<v_wms_order_movement_details_for_predetermine> v_wms_order_movement_details_for_predetermine { get; set; }
|
public virtual DbSet<v_wms_place_container_info> v_wms_place_container_info { get; set; }
|
public virtual DbSet<v_wms_stock_dispense> v_wms_stock_dispense { get; set; }
|
public virtual DbSet<v_wms_stock_predetermine_lock> v_wms_stock_predetermine_lock { get; set; }
|
public virtual DbSet<v_wms_stock_quan> v_wms_stock_quan { get; set; }
|
public virtual DbSet<v_wms_stock_quan_area_group> v_wms_stock_quan_area_group { get; set; }
|
public virtual DbSet<v_wms_stock_quan_for_use> v_wms_stock_quan_for_use { get; set; }
|
public virtual DbSet<v_wms_stock_quan_group> v_wms_stock_quan_group { get; set; }
|
public virtual DbSet<v_wms_stock_quan_lock> v_wms_stock_quan_lock { get; set; }
|
public virtual DbSet<v_wms_stock_quan_lock_materialCode> v_wms_stock_quan_lock_materialCode { get; set; }
|
public virtual DbSet<v_wms_stock_quan_use_group> v_wms_stock_quan_use_group { get; set; }
|
public virtual DbSet<V_WmsOrderMovementDetails> V_WmsOrderMovementDetails { get; set; }
|
public virtual DbSet<V_WmsStockWarning> V_WmsStockWarning { get; set; }
|
|
protected override void OnModelCreating(DbModelBuilder modelBuilder)
|
{
|
modelBuilder.Entity<test_place>()
|
.Property(e => e.Length)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<test_place>()
|
.Property(e => e.Width)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<test_place>()
|
.Property(e => e.Height)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<test_place>()
|
.Property(e => e.MaxWeight)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<Test_Student>()
|
.Property(e => e.HasMoney)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<Test_Student>()
|
.Property(e => e.ShenJia)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_base_container>()
|
.Property(e => e.SpecLength)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_base_container>()
|
.Property(e => e.SpecWidth)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_base_container>()
|
.Property(e => e.SpecHeight)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_base_container>()
|
.Property(e => e.LimitLength)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_base_container>()
|
.Property(e => e.LimitWidth)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_base_container>()
|
.Property(e => e.LimitHeight)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_base_container>()
|
.Property(e => e.MaxWeight)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_base_container_packaging>()
|
.Property(e => e.BoxQty)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_base_control_rule>()
|
.Property(e => e.MaxImumqty)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_base_control_rule>()
|
.Property(e => e.MinImumqty)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_base_control_rule>()
|
.Property(e => e.SafeImumqty)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_base_control_rule>()
|
.Property(e => e.MinStorageAge)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_base_control_rule>()
|
.Property(e => e.MaxStorageAge)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_base_control_rule>()
|
.Property(e => e.ShelfLifeDays)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_base_material>()
|
.Property(e => e.SNP)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_base_material>()
|
.Property(e => e.TranslateRate)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_base_place>()
|
.Property(e => e.Length)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_base_place>()
|
.Property(e => e.Width)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_base_place>()
|
.Property(e => e.Height)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_base_place>()
|
.Property(e => e.MaxWeight)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_base_warehouse>()
|
.Property(e => e.Length)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_base_warehouse>()
|
.Property(e => e.Width)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_base_warehouse>()
|
.Property(e => e.Height)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_config_kbcard>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_config_no_rule>()
|
.Property(e => e.NoRule)
|
.IsUnicode(false);
|
|
modelBuilder.Entity<wms_config_no_rule>()
|
.Property(e => e.RuleDesc)
|
.IsUnicode(false);
|
|
modelBuilder.Entity<wms_config_print>()
|
.Property(e => e.Remark)
|
.IsUnicode(false);
|
|
modelBuilder.Entity<wms_config_unshelve_strategy>()
|
.Property(e => e.StrategyName)
|
.IsUnicode(false);
|
|
modelBuilder.Entity<wms_container_sort>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_container_sort>()
|
.Property(e => e.PickQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_container_sort_print>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_container_sort_print>()
|
.Property(e => e.PickQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_inventory_check_order_details>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_inventory_check_order_details>()
|
.Property(e => e.CheckQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_inventory_check_record>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_inventory_check_record>()
|
.Property(e => e.CheckQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_log_action>()
|
.Property(e => e.KeyWord1)
|
.IsUnicode(false);
|
|
modelBuilder.Entity<wms_order_asn>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_asn>()
|
.Property(e => e.GoodsQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_asn_details>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_asn_details>()
|
.Property(e => e.GoodsQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_asn_details>()
|
.Property(e => e.POQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_asn_details>()
|
.Property(e => e.TranslateRate)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_deliver_details>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_deliver_details>()
|
.Property(e => e.DeliverQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_deliver_details>()
|
.Property(e => e.CreateWaveQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_deliver_details>()
|
.Property(e => e.SNP)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_movement_details>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_movement_details>()
|
.Property(e => e.CreateWaveQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_movement_details>()
|
.Property(e => e.PickQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_movement_details>()
|
.Property(e => e.DeliverQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_movement_details>()
|
.Property(e => e.OffShelvesQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_movement_details>()
|
.Property(e => e.PredetermineQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_movement_details>()
|
.Property(e => e.OnShelvesQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_purchase>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_purchase>()
|
.Property(e => e.GoodsQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_purchase>()
|
.Property(e => e.CreateASNQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_purchase_details>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_purchase_details>()
|
.Property(e => e.GoodsQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_purchase_details>()
|
.Property(e => e.CreateASNQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_purchase_details>()
|
.Property(e => e.SNP)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_purchase_details>()
|
.Property(e => e.PrintQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_purchase_sn>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_purchase_sn>()
|
.Property(e => e.GoodQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_purchase_sn>()
|
.Property(e => e.GoodsQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_qc_details>()
|
.Property(e => e.QCQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_qc_details>()
|
.Property(e => e.GoodsQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_qc_details>()
|
.Property(e => e.PassQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_qc_details>()
|
.Property(e => e.RejectQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_qc_trans>()
|
.Property(e => e.PassQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_qc_trans>()
|
.Property(e => e.RejectQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_sort_details>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_sort_details>()
|
.Property(e => e.DispenseQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_sort_details>()
|
.Property(e => e.OffShelvesQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_sort_details>()
|
.Property(e => e.DeliverQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_sort_details>()
|
.Property(e => e.PickQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_sort_details>()
|
.Property(e => e.IssueQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_sort_trans>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_order_sort_trans>()
|
.Property(e => e.OccQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_record_pred_disp_history>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_record_pred_disp_history>()
|
.Property(e => e.Batch)
|
.IsUnicode(false);
|
|
modelBuilder.Entity<wms_record_predetermine_dispense>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_record_receiving_delivery>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_record_receiving_delivery>()
|
.Property(e => e.POQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_record_receiving_delivery>()
|
.Property(e => e.CustEnglishName)
|
.IsUnicode(false);
|
|
modelBuilder.Entity<wms_record_receiving_delivery>()
|
.Property(e => e.Batch)
|
.IsUnicode(false);
|
|
modelBuilder.Entity<wms_record_sncode_print>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_record_stock_quan_dispense>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_record_trans>()
|
.Property(e => e.PassQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_record_trans>()
|
.Property(e => e.RejectQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_record_trans>()
|
.Property(e => e.SourceQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_record_trans>()
|
.Property(e => e.ToQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_record_trans>()
|
.Property(e => e.ChangeQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_stock_quan>()
|
.Property(e => e.Quantity)
|
.HasPrecision(12, 3);
|
|
modelBuilder.Entity<wms_stock_quan_lock>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_stock_quan_out>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_stock_quan_out>()
|
.Property(e => e.Batch)
|
.IsUnicode(false);
|
|
modelBuilder.Entity<wms_stock_quan_zero>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_stock_quan_zero>()
|
.Property(e => e.Batch)
|
.IsUnicode(false);
|
|
modelBuilder.Entity<wms_stock_snapshot_details>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_stock_snapshot_details>()
|
.Property(e => e.Batch)
|
.IsUnicode(false);
|
|
modelBuilder.Entity<wms_stock_snapshot_group>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<wms_sys_basic_data>()
|
.Property(e => e.BasicDataType)
|
.IsUnicode(false);
|
|
modelBuilder.Entity<wms_sys_basic_data>()
|
.Property(e => e.BasicDataValue)
|
.IsUnicode(false);
|
|
modelBuilder.Entity<wms_sys_basic_data>()
|
.Property(e => e.BasicDataUnit)
|
.IsUnicode(false);
|
|
modelBuilder.Entity<wms_sys_basic_data>()
|
.Property(e => e.Machine)
|
.IsUnicode(false);
|
|
modelBuilder.Entity<wms_sys_basic_data>()
|
.Property(e => e.LastMachine)
|
.IsUnicode(false);
|
|
modelBuilder.Entity<wms_sys_pda_menu>()
|
.Property(e => e.Name)
|
.IsUnicode(false);
|
|
modelBuilder.Entity<wms_sys_pda_menu>()
|
.Property(e => e.Color)
|
.IsUnicode(false);
|
|
modelBuilder.Entity<v_empty_place>()
|
.Property(e => e.Length)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_empty_place>()
|
.Property(e => e.Width)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_empty_place>()
|
.Property(e => e.Height)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_empty_place>()
|
.Property(e => e.MaxWeight)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_stock_boardabc>()
|
.Property(e => e.Quantity)
|
.HasPrecision(12, 3);
|
|
modelBuilder.Entity<v_students>()
|
.Property(e => e.HasMoney)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_students>()
|
.Property(e => e.ShenJia)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_ware_age_warm>()
|
.Property(e => e.QualityAssurance)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_ware_age_warm>()
|
.Property(e => e.OverDueDays)
|
.HasPrecision(15, 3);
|
|
modelBuilder.Entity<v_ware_PurchaseOrderDetailsForPDA>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_ware_PurchaseOrderDetailsForPDA>()
|
.Property(e => e.POQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_ware_PurchaseOrderDetailsForPDA>()
|
.Property(e => e.GoodsQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_ware_PurchaseOrderDetailsForPDA>()
|
.Property(e => e.TranslateRate)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_ware_PurchaseOrderDetailsForPDA>()
|
.Property(e => e.MaxImumqty)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_ware_PurchaseOrderDetailsForPDA>()
|
.Property(e => e.StockQty)
|
.HasPrecision(38, 3);
|
|
modelBuilder.Entity<v_wms_base_container>()
|
.Property(e => e.SpecLength)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_wms_base_container>()
|
.Property(e => e.SpecWidth)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_wms_base_container>()
|
.Property(e => e.SpecHeight)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_wms_base_container>()
|
.Property(e => e.LimitLength)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_wms_base_container>()
|
.Property(e => e.LimitWidth)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_wms_base_container>()
|
.Property(e => e.LimitHeight)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_wms_base_container>()
|
.Property(e => e.MaxWeight)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_wms_config_unshelve_strategy_range>()
|
.Property(e => e.StrategyName)
|
.IsUnicode(false);
|
|
modelBuilder.Entity<v_wms_inventory_check_order_details_order>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_wms_inventory_check_order_details_order>()
|
.Property(e => e.CheckQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_wms_order_movement_details_for_dispense>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_wms_order_movement_details_for_dispense>()
|
.Property(e => e.PickQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_wms_order_movement_details_for_dispense>()
|
.Property(e => e.DispenseQuantity)
|
.HasPrecision(38, 3);
|
|
modelBuilder.Entity<v_wms_order_movement_details_for_dispense>()
|
.Property(e => e.PredetermineQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_wms_order_movement_details_for_dispense>()
|
.Property(e => e.AvailableQty)
|
.HasPrecision(38, 3);
|
|
modelBuilder.Entity<v_wms_order_movement_details_for_predetermine>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_wms_order_movement_details_for_predetermine>()
|
.Property(e => e.PickQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_wms_order_movement_details_for_predetermine>()
|
.Property(e => e.DispenseQuantity)
|
.HasPrecision(38, 3);
|
|
modelBuilder.Entity<v_wms_order_movement_details_for_predetermine>()
|
.Property(e => e.PredetermineQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_wms_order_movement_details_for_predetermine>()
|
.Property(e => e.RealAvailableQty)
|
.HasPrecision(38, 3);
|
|
modelBuilder.Entity<v_wms_place_container_info>()
|
.Property(e => e.High)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_wms_place_container_info>()
|
.Property(e => e.Width)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_wms_place_container_info>()
|
.Property(e => e.Long)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<v_wms_stock_dispense>()
|
.Property(e => e.DispenseQty)
|
.HasPrecision(38, 3);
|
|
modelBuilder.Entity<v_wms_stock_predetermine_lock>()
|
.Property(e => e.LockedQty)
|
.HasPrecision(38, 3);
|
|
modelBuilder.Entity<v_wms_stock_quan>()
|
.Property(e => e.Quantity)
|
.HasPrecision(12, 3);
|
|
modelBuilder.Entity<v_wms_stock_quan>()
|
.Property(e => e.LockedQty)
|
.HasPrecision(38, 3);
|
|
modelBuilder.Entity<v_wms_stock_quan>()
|
.Property(e => e.DisabledReason)
|
.IsUnicode(false);
|
|
modelBuilder.Entity<v_wms_stock_quan>()
|
.Property(e => e.UsableFlagStr)
|
.IsUnicode(false);
|
|
modelBuilder.Entity<v_wms_stock_quan_area_group>()
|
.Property(e => e.Quantity)
|
.HasPrecision(38, 3);
|
|
modelBuilder.Entity<v_wms_stock_quan_area_group>()
|
.Property(e => e.UseQty)
|
.HasPrecision(38, 3);
|
|
modelBuilder.Entity<v_wms_stock_quan_area_group>()
|
.Property(e => e.LockQty)
|
.HasPrecision(38, 3);
|
|
modelBuilder.Entity<v_wms_stock_quan_for_use>()
|
.Property(e => e.AvailableQty)
|
.HasPrecision(38, 3);
|
|
modelBuilder.Entity<v_wms_stock_quan_for_use>()
|
.Property(e => e.Quantity)
|
.HasPrecision(12, 3);
|
|
modelBuilder.Entity<v_wms_stock_quan_for_use>()
|
.Property(e => e.LockedQty)
|
.HasPrecision(38, 3);
|
|
modelBuilder.Entity<v_wms_stock_quan_for_use>()
|
.Property(e => e.DisabledReason)
|
.IsUnicode(false);
|
|
modelBuilder.Entity<v_wms_stock_quan_for_use>()
|
.Property(e => e.UsableFlagStr)
|
.IsUnicode(false);
|
|
modelBuilder.Entity<v_wms_stock_quan_group>()
|
.Property(e => e.Quantity)
|
.HasPrecision(38, 3);
|
|
modelBuilder.Entity<v_wms_stock_quan_group>()
|
.Property(e => e.PredetermineLockedQty)
|
.HasPrecision(38, 3);
|
|
modelBuilder.Entity<v_wms_stock_quan_group>()
|
.Property(e => e.TheoryUseQty)
|
.HasPrecision(38, 3);
|
|
modelBuilder.Entity<v_wms_stock_quan_group>()
|
.Property(e => e.UseQty)
|
.HasPrecision(38, 3);
|
|
modelBuilder.Entity<v_wms_stock_quan_group>()
|
.Property(e => e.OtherLockQty)
|
.HasPrecision(38, 3);
|
|
modelBuilder.Entity<v_wms_stock_quan_lock>()
|
.Property(e => e.LockedQty)
|
.HasPrecision(38, 3);
|
|
modelBuilder.Entity<v_wms_stock_quan_lock_materialCode>()
|
.Property(e => e.LockedQty)
|
.HasPrecision(38, 3);
|
|
modelBuilder.Entity<v_wms_stock_quan_use_group>()
|
.Property(e => e.AllQuantity)
|
.HasPrecision(38, 3);
|
|
modelBuilder.Entity<v_wms_stock_quan_use_group>()
|
.Property(e => e.RealAvailableQty)
|
.HasPrecision(38, 3);
|
|
modelBuilder.Entity<v_wms_stock_quan_use_group>()
|
.Property(e => e.NotPredetermineLockedQtyAvailableQty)
|
.HasPrecision(38, 3);
|
|
modelBuilder.Entity<v_wms_stock_quan_use_group>()
|
.Property(e => e.PredetermineLockedQty)
|
.HasPrecision(38, 3);
|
|
modelBuilder.Entity<v_wms_stock_quan_use_group>()
|
.Property(e => e.SNLockedQty)
|
.HasPrecision(38, 3);
|
|
modelBuilder.Entity<V_WmsOrderMovementDetails>()
|
.Property(e => e.Quantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<V_WmsOrderMovementDetails>()
|
.Property(e => e.CreateWaveQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<V_WmsOrderMovementDetails>()
|
.Property(e => e.PickQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<V_WmsOrderMovementDetails>()
|
.Property(e => e.DeliverQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<V_WmsOrderMovementDetails>()
|
.Property(e => e.OffShelvesQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<V_WmsOrderMovementDetails>()
|
.Property(e => e.PredetermineQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<V_WmsOrderMovementDetails>()
|
.Property(e => e.OnShelvesQuantity)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<V_WmsOrderMovementDetails>()
|
.Property(e => e.DispenseQuantity)
|
.HasPrecision(38, 3);
|
|
modelBuilder.Entity<V_WmsStockWarning>()
|
.Property(e => e.RealAvailableQty)
|
.HasPrecision(38, 3);
|
|
modelBuilder.Entity<V_WmsStockWarning>()
|
.Property(e => e.SafeImumqty)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<V_WmsStockWarning>()
|
.Property(e => e.MinImumqty)
|
.HasPrecision(10, 3);
|
|
modelBuilder.Entity<V_WmsStockWarning>()
|
.Property(e => e.MaxImumqty)
|
.HasPrecision(10, 3);
|
}
|
}
|
}
|