| | |
| | | |
| | | namespace WIDESEA_Model.Models |
| | | { |
| | | /// <summary> |
| | | /// 鐗╂枡淇℃伅 |
| | | /// </summary> |
| | | [SugarTable(nameof(Dt_MaterielInfo), "鐗╂枡淇℃伅")] |
| | | [SugarIndex("unique_materielinfo_materielcode", nameof(MaterielCode), OrderByType.Asc, true)] |
| | | public class Dt_MaterielInfo : BaseEntity//, BaseWarehouseEntity |
| | |
| | | /// </summary> |
| | | [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] |
| | | public int Id { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 浠撳簱缂栧彿 |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "浠撳簱缂栧彿")] |
| | | public int WarehouseId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 鐗╂枡缂栧彿 |
| | |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "澶囨敞")] |
| | | public string Remark { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 浠撳簱缂栧彿 |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "浠撳簱缂栧彿")] |
| | | public int WarehouseId { get; set; } |
| | | } |
| | | } |