using SqlSugar;
namespace Gs.Entity.BaseInfo;
///
///
[SugarTable("MES_UNIT")]
public class MesUnit
{
///
/// 默认值: (newid())
///
[SugarColumn(ColumnName = "guid", IsPrimaryKey = true)]
public Guid Guid { get; set; }
///
/// BASEINFO
///
[SugarColumn(ColumnName = "id")]
public int Id { get; set; }
///
/// 原单位
///
[SugarColumn(ColumnName = "oldunit")]
public string Oldunit { get; set; }
///
/// 目的单位
///
[SugarColumn(ColumnName = "newunit")]
public string Newunit { get; set; }
///
/// 原单位数量
///
[SugarColumn(ColumnName = "oldqty")]
public int? Oldqty { get; set; }
///
/// 目的单位数量
///
[SugarColumn(ColumnName = "newqty")]
public int? Newqty { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "create_date")]
public DateTime? CreateDate { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnName = "create_by")]
public string CreateBy { get; set; }
///
/// 最后更新时间
///
[SugarColumn(ColumnName = "lastupdate_date")]
public DateTime? LastupdateDate { get; set; }
///
/// 最后更新人
///
[SugarColumn(ColumnName = "lastupdate_by")]
public string LastupdateBy { get; set; }
///
///
[SugarColumn(ColumnName = "company")]
public string Company { get; set; }
///
///
[SugarColumn(ColumnName = "factory")]
public string Factory { get; set; }
///
/// 编码
///
[SugarColumn(ColumnName = "fnumber")]
public string Fnumber { get; set; }
///
/// 名称
///
[SugarColumn(ColumnName = "fname")]
public string Fname { get; set; }
///
/// 所属组别
///
[SugarColumn(ColumnName = "funitgroupid")]
public string Funitgroupid { get; set; }
///
/// 换算分母
///
[SugarColumn(ColumnName = "fconvertdenominator")]
public decimal? Fconvertdenominator { get; set; }
///
/// 当前单位
///
[SugarColumn(ColumnName = "fcurrentunitid")]
public string Fcurrentunitid { get; set; }
///
/// 换算分子
///
[SugarColumn(ColumnName = "fconvertnumerator")]
public decimal? Fconvertnumerator { get; set; }
///
/// 基准单位
///
[SugarColumn(ColumnName = "fbaseunit")]
public string Fbaseunit { get; set; }
///
/// 舍入类型
///
[SugarColumn(ColumnName = "froundtype")]
public string Froundtype { get; set; }
///
/// 精度
///
[SugarColumn(ColumnName = "fprecision")]
public int? Fprecision { get; set; }
///
/// 描述
///
[SugarColumn(ColumnName = "fdescription")]
public string Fdescription { get; set; }
///
/// 禁用状态
///
[SugarColumn(ColumnName = "fforbidstatus")]
public string Fforbidstatus { get; set; }
///
/// 单据状态
///
[SugarColumn(ColumnName = "DATA_TYPE")]
public string DataType { get; set; }
}