Model - tb_PFPlan 生产计划实体模型
Model - tb_PFPlan 生产计划实体模型
主表 - tb_PFPlan
C# 全选
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
/*===================================================================
* 程序说明: tb_PFPlan 实体类(ORM模型)
* 作者资料: CSFramework
* 创建日期: 2023/08/08 07:09:38
* 最后修改: 2023/08/08 07:09:38
*
* 注:本文件由CSFramework.CodeGenerator代码生成器自动生成。
* 请将源码文件复制到 YourProject 对应的项目。
*
* 版权所有 Copyright 2006~2023, C/S框架网 (www.csframework.com)
*===================================================================*/
namespace CartonERP.Models
{
///<summary>
/// 数据表:tb_PFPlan的实体模型(ORM Model)。
/// </summary>
[Table("tb_PFPlan")]
public class tb_PFPlan
{
#region 所有字段属性
/// <summary>
/// isid
/// </summary>
[Key, Column(Order = 1)]
public String isid { get; set; }
/// <summary>
/// 排程单号
/// </summary>
public String PLNO { get; set; }
/// <summary>
/// 排程日期
/// </summary>
public DateTime? DocDate { get; set; }
/// <summary>
/// 备注
/// </summary>
public String Remark { get; set; }
/// <summary>
/// 创建日期
/// </summary>
public DateTime? CreationDate { get; set; }
/// <summary>
/// 创建人
/// </summary>
public String CreatedBy { get; set; }
/// <summary>
/// 修改时间
/// </summary>
public DateTime? LastUpdateDate { get; set; }
/// <summary>
/// 修改人
/// </summary>
public String LastUpdatedBy { get; set; }
/// <summary>
/// FlagApp
/// </summary>
public String FlagApp { get; set; }
/// <summary>
/// 审核人
/// </summary>
public String AppUser { get; set; }
/// <summary>
/// 审核时间
/// </summary>
public DateTime? AppDate { get; set; }
#endregion
}
}
明细表 - tb_PFPlanDetails
C# 全选
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
/*===================================================================
* 程序说明: tb_PFPlanDetails 实体类(ORM模型)
* 作者资料: CSFramework
* 创建日期: 2023/08/08 07:09:38
* 最后修改: 2023/08/08 07:09:38
*
* 注:本文件由CSFramework.CodeGenerator代码生成器自动生成。
* 请将源码文件复制到 YourProject 对应的项目。
*
* 版权所有 Copyright 2006~2023, C/S框架网 (www.csframework.com)
*===================================================================*/
namespace CartonERP.Models
{
///<summary>
/// 数据表:tb_PFPlanDetails的实体模型(ORM Model)。
/// </summary>
[Table("tb_PFPlanDetails")]
public class tb_PFPlanDetails
{
#region 所有字段属性
/// <summary>
/// isid
/// </summary>
[Key, Column(Order = 1)]
public String isid { get; set; }
/// <summary>
/// PLNO
/// </summary>
public String PLNO { get; set; }
/// <summary>
/// 序号
/// </summary>
public Int32? SortId { get; set; }
/// <summary>
/// 生产单号
/// </summary>
public String PFNO { get; set; }
/// <summary>
/// 生产日期
/// </summary>
public DateTime? PFDate { get; set; }
/// <summary>
/// 排程天数
/// </summary>
public Int32? Days { get; set; }
/// <summary>
/// 采购入库数
/// </summary>
public Int32? PaperInQty { get; set; }
/// <summary>
/// 领料出库数
/// </summary>
public Int32? PaperOutQty { get; set; }
/// <summary>
/// 客户编码
/// </summary>
public String CustomerCode { get; set; }
/// <summary>
/// 客户名称
/// </summary>
public String CustomerName { get; set; }
/// <summary>
/// 销售单号
/// </summary>
public String SONO { get; set; }
/// <summary>
/// 交货日期
/// </summary>
public DateTime? DeliveryDate { get; set; }
/// <summary>
/// 客户单号
/// </summary>
public String CustomerOrderNo { get; set; }
/// <summary>
/// 货品编码
/// </summary>
public String ProductCode { get; set; }
/// <summary>
/// 品名
/// </summary>
public String ProductName { get; set; }
/// <summary>
/// 客方货号
/// </summary>
public String GoodsNo { get; set; }
/// <summary>
/// 箱型编码
/// </summary>
public String CartonCode { get; set; }
/// <summary>
/// 箱型
/// </summary>
public String CartonName { get; set; }
/// <summary>
/// 纸箱规格
/// </summary>
public String CartonSpec { get; set; }
/// <summary>
/// 客户纸质
/// </summary>
public String PaperName { get; set; }
/// <summary>
/// 生产纸质
/// </summary>
public String PaperNameSupplier { get; set; }
/// <summary>
/// 纸板规格
/// </summary>
public String PaperSpec { get; set; }
/// <summary>
/// 纸板数
/// </summary>
public Int32? PaperQty { get; set; }
/// <summary>
/// 订单数量
/// </summary>
public Int32? OrderQty { get; set; }
public Int32? SchedulQty { get; set; }
/// <summary>
/// 生产数量
/// </summary>
public Int32? CartonInQty { get; set; }
/// <summary>
/// 未生产数量
/// </summary>
public Int32? CartonBalanceQty { get; set; }
/// <summary>
/// 已送货数
/// </summary>
public Int32? DOQty { get; set; }
/// <summary>
/// 未送货数量
/// </summary>
public Int32? DOBalance { get; set; }
/// <summary>
/// 单价
/// </summary>
public Decimal? Price { get; set; }
/// <summary>
/// 备注
/// </summary>
public String Remark { get; set; }
/// <summary>
/// 创建日期
/// </summary>
public DateTime? CreationDate { get; set; }
/// <summary>
/// 创建人
/// </summary>
public String CreatedBy { get; set; }
/// <summary>
/// 修改时间
/// </summary>
public DateTime? LastUpdateDate { get; set; }
/// <summary>
/// 修改人
/// </summary>
public String LastUpdatedBy { get; set; }
#endregion
}
}
版权声明:本文为开发框架文库发布内容,转载请附上原文出处连接
CSFrameworkV6 C/S框架网