using SqlSugar;
using System;
namespace MES.Service.Modes;
///
/// 物料单位换算信息
///
[SugarTable("MES_WORKSHOP_CENTERS")]
public class MesWorkShopCenters
{
///
/// ID(SEQ_INV_ID)
///
[SugarColumn(ColumnName = "ID", OracleSequenceName = "SEQ_WORKSHOP_ID")]
public decimal Id { get; set; }
///
/// 工作中心编码
///
[SugarColumn(ColumnName = "WORKSHOP_CENTER_CODE", IsPrimaryKey = true)]
public string WorkshopCenterCode { get; set; }
///
/// 工作中心名称
///
[SugarColumn(ColumnName = "WORKSHOP_CENTER_NAME")]
public string? WorkshopCenterName { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "DESCRIPTION")]
public string? Description { get; set; }
///
/// 换算单位
///
[SugarColumn(ColumnName = "CREATE_BY")]
public string? CreateBy { get; set; }
///
/// 有效码
///
[SugarColumn(ColumnName = "CREATE_DATE")]
public DateTime? CreateDate { get; set; }
///
/// 分厂编码
///
[SugarColumn(ColumnName = "FACTORY")]
public string? Factory { get; set; }
///
/// 公司代码
///
[SugarColumn(ColumnName = "COMPANY")]
public string? Company { get; set; }
///
/// 部门编码
///
[SugarColumn(ColumnName = "DEPARTMENTCODE")]
public string? DepartmentCode { get; set; }
[SugarColumn(IsIgnore = true)] public string? Type { get; set; }
}