203 lines
5.4 KiB
C#
203 lines
5.4 KiB
C#
|
|
namespace DOAN.Model.BZFM
|
|
{
|
|
/// <summary>
|
|
/// 不良品记录表
|
|
/// </summary>
|
|
[SugarTable("qc_scrap_records")]
|
|
public class QcScrapRecords
|
|
{
|
|
/// <summary>
|
|
/// 工位
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "work_station")]
|
|
public string WorkStation { get; set; }
|
|
|
|
/// <summary>
|
|
/// 版本号
|
|
/// </summary>
|
|
public int? Version { get; set; }
|
|
|
|
/// <summary>
|
|
/// 租户ID
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "tenant_id")]
|
|
public long? TenantId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 更新时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "updated_time")]
|
|
public DateTime? UpdatedTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 更新人ID
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "updated_by")]
|
|
public long? UpdatedBy { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "created_time")]
|
|
public DateTime? CreatedTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建人ID
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "created_by")]
|
|
public long CreatedBy { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
public string Remark { get; set; }
|
|
|
|
/// <summary>
|
|
/// 库存编号
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "location_code")]
|
|
public string LocationCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 成本影响金额
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "cost_impact")]
|
|
public decimal CostImpact { get; set; }
|
|
|
|
/// <summary>
|
|
/// 质检员
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "quality_inspector")]
|
|
public string QualityInspector { get; set; }
|
|
|
|
/// <summary>
|
|
/// 状态:草稿,待审批,已批准,已拒绝
|
|
/// </summary>
|
|
public string Status { get; set; }
|
|
|
|
/// <summary>
|
|
/// 审批日期
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "approval_date")]
|
|
public DateTime? ApprovalDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// 报废日期
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "scrap_date")]
|
|
public DateTime? ScrapDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// 审核人
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "supervisor_name")]
|
|
public string SupervisorName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 操作员
|
|
/// </summary>
|
|
public string Operator { get; set; }
|
|
|
|
/// <summary>
|
|
/// 主键ID
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
|
public long Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 处置方式
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "disposal_method")]
|
|
public string DisposalMethod { get; set; }
|
|
|
|
/// <summary>
|
|
/// 报废类型:质量缺陷,过期,损坏,工艺错误,其他
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "scrap_type")]
|
|
public string ScrapType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 报废原因
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "scrap_reason")]
|
|
public string ScrapReason { get; set; }
|
|
|
|
/// <summary>
|
|
/// 单位
|
|
/// </summary>
|
|
public string Unit { get; set; }
|
|
|
|
/// <summary>
|
|
/// 报废数量
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "scrap_quantity")]
|
|
public decimal ScrapQuantity { get; set; }
|
|
|
|
/// <summary>
|
|
/// 批次号
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "batch_no")]
|
|
public string BatchNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 物料名称
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "material_name")]
|
|
public string MaterialName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 物料编码
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "material_code")]
|
|
public string MaterialCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 产品名称
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "product_name")]
|
|
public string ProductName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 产品编号
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "product_code")]
|
|
public string ProductCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 炉号
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "stove_code")]
|
|
public string StoveCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 线别
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "line_code")]
|
|
public string LineCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 工单号
|
|
/// </summary>
|
|
public string Workorder { get; set; }
|
|
|
|
/// <summary>
|
|
/// 报废单号
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "scrap_order_no")]
|
|
public string ScrapOrderNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 供应商编码
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "supplier_code")]
|
|
public string SupplierCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 供应商名称
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "supplier_name")]
|
|
public string SupplierName { get; set; }
|
|
|
|
}
|
|
} |