using SqlSugar;
namespace NewPdaSqlServer.entity;
[SugarTable("V_CGTL")]
public class CgtlView
{
///
/// 采购单号
///
[SugarColumn(ColumnName = "WORK_NO")]
public string? WorkNo { get; set; }
///
/// 行号
///
[SugarColumn(ColumnName = "work_line")]
public string? WorkLine { get; set; }
///
/// 物料编号
///
[SugarColumn(ColumnName = "item_no")]
public string? ItemNo { get; set; }
///
/// 物料名称
///
[SugarColumn(ColumnName = "item_name")]
public string? ItemName { get; set; }
///
/// 规格型号
///
[SugarColumn(ColumnName = "item_model")]
public string? ItemModel { get; set; }
///
/// 入库数量
///
[SugarColumn(ColumnName = "RK_QTY")]
public decimal? RkQty { get; set; }
///
/// 单位
///
[SugarColumn(ColumnName = "UNIT")]
public string? Unit { get; set; }
///
/// 供应商编号
///
[SugarColumn(ColumnName = "supp_no")]
public string? SuppNo { get; set; }
///
/// 已退料数量
///
[SugarColumn(ColumnName = "YTL_QTY")]
public decimal? YtlQty { get; set; }
///
/// 可退数量
///
[SugarColumn(ColumnName = "KT_QTY")]
public decimal? KtQty { get; set; }
///
/// 到货单号
///
[SugarColumn(ColumnName = "PBILL_NO")]
public string? PBillNo { get; set; }
///
/// 类型(默认为 0)
///
[SugarColumn(ColumnName = "F_TYPE")]
public int FType { get; set; } = 0;
///
/// 采购单内码
///
[SugarColumn(ColumnName = "EBELN_K3ID")]
public string? EbelnK3Id { get; set; }
///
/// 采购行内码
///
[SugarColumn(ColumnName = "LINE_K3ID")]
public string? LineK3Id { get; set; }
///
/// 入库单号
///
[SugarColumn(ColumnName = "RK_NO")]
public string? RkNo { get; set; }
///
/// 入库日期,格式为yyyy-MM-dd
///
[SugarColumn(ColumnName = "RK_DATE")]
public string? RkDate { get; set; }
///
/// 入库单行内码
///
[SugarColumn(ColumnName = "RK_LINE")]
public string? RkLine { get; set; }
///
/// 物料内码
///
[SugarColumn(ColumnName = "ITEM_ID")]
public string? ItemId { get; set; }
///
/// 供应商id
///
[SugarColumn(ColumnName = "SUPP_ID")]
public string? SuppId { get; set; }
}