物料Excel导入导出模型最终调整
This commit is contained in:
@@ -82,58 +82,59 @@ namespace DOAN.Model.BZFM.Dto
|
||||
[SugarTable("mm_material", "物料表")]
|
||||
public class MmMaterialExcelDto
|
||||
{
|
||||
//[ExcelColumn(Name = "id")]
|
||||
[ExcelColumn(Name = "id")]
|
||||
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
//[ExcelColumn(Name = "物料标号")]
|
||||
[ExcelColumn(Name = "物料标号")]
|
||||
public string Type { get; set; }
|
||||
|
||||
//[ExcelColumn(Name = "物料编码")]
|
||||
[ExcelColumn(Name = "物料编码")]
|
||||
[SugarColumn(ColumnName = "material_code")]
|
||||
public string MaterialCode { get; set; }
|
||||
|
||||
//[ExcelColumn(Name = "物料名称")]
|
||||
[ExcelColumn(Name = "物料名称")]
|
||||
[SugarColumn(ColumnName = "material_name")]
|
||||
public string MaterialName { get; set; }
|
||||
|
||||
//[ExcelColumn(Name = "规格")]
|
||||
[ExcelColumn(Name = "规格")]
|
||||
public string Specification { get; set; }
|
||||
|
||||
//[ExcelColumn(Name = "物料分类编码")]
|
||||
[ExcelColumn(Name = "物料分类编码")]
|
||||
[SugarColumn(ColumnName = "category_code")]
|
||||
public string CategoryCode { get; set; }
|
||||
|
||||
//[ExcelColumn(Name = "物料分类名称")]
|
||||
[ExcelColumn(Name = "物料分类名称")]
|
||||
[SugarColumn(ColumnName = "category_name")]
|
||||
public string CategoryName { get; set; }
|
||||
|
||||
//[ExcelColumn(Name = "计量单位")]
|
||||
[ExcelColumn(Name = "计量单位")]
|
||||
public string Unit { get; set; }
|
||||
|
||||
//[ExcelColumn(Name = "供应商编码")]
|
||||
[ExcelColumn(Name = "供应商编码")]
|
||||
[SugarColumn(ColumnName = "supplier_code")]
|
||||
public string SupplierCode { get; set; }
|
||||
|
||||
//[ExcelColumn(Name = "供应商名称")]
|
||||
[ExcelColumn(Name = "供应商名称")]
|
||||
[SugarColumn(ColumnName = "supplier_name")]
|
||||
public string SupplierName { get; set; }
|
||||
|
||||
//[ExcelColumn(Name = "安全库存")]
|
||||
[ExcelColumn(Name = "安全库存")]
|
||||
[SugarColumn(ColumnName = "safety_stock")]
|
||||
public decimal SafetyStock { get; set; }
|
||||
|
||||
//[ExcelColumn(Name = "状态")]
|
||||
[ExcelColumn(Name = "状态")]
|
||||
public string Status { get; set; }
|
||||
|
||||
//[ExcelColumn(Name = "创建时间")]
|
||||
[ExcelColumn(Name = "创建时间")]
|
||||
[SugarColumn(ColumnName = "created_time")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
//[ExcelColumn(Name = "更新时间")]
|
||||
[ExcelColumn(Name = "更新时间")]
|
||||
[SugarColumn(ColumnName = "updated_time")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
|
||||
//[ExcelColumn(Name = "描述")]
|
||||
[ExcelColumn(Name = "描述")]
|
||||
public string Description { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user