You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
2.9 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
namespace Sln.Wcs.Model.Domain
{
[SugarTable("base_materialinfo"), TenantAttribute("wcs")]
[DataContract(Name = "物料信息表")]
public class BaseMaterialInfo
{
/// <summary>
/// 主键ID
/// </summary>
[SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
public long Id { get; set; }
/// <summary>
/// 物料编码(唯一标识)
/// </summary>
[SugarColumn(ColumnName = "material_code", ColumnDescription = "物料编码")]
public string MaterialCode { get; set; }
/// <summary>
/// 物料名称
/// </summary>
[SugarColumn(ColumnName = "material_name", ColumnDescription = "物料名称")]
public string MaterialName { get; set; }
/// <summary>
/// 物料类型(原材料/半成品/成品/辅料等)
/// </summary>
[SugarColumn(ColumnName = "material_type", ColumnDescription = "物料类型")]
public string? MaterialType { get; set; }
/// <summary>
/// 物料分类(电子/五金/塑胶等)
/// </summary>
[SugarColumn(ColumnName = "material_category", ColumnDescription = "物料分类")]
public string? MaterialCategory { get; set; }
/// <summary>
/// 状态0-禁用 1-启用)
/// </summary>
[SugarColumn(ColumnName = "status", ColumnDescription = "状态")]
public int Status { get; set; }
/// <summary>
/// 逻辑删除标志false-未删除 true-已删除)
/// </summary>
[SugarColumn(ColumnName = "is_deleted", ColumnDescription = "逻辑删除标志")]
public bool IsDeleted { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(ColumnName = "remark", ColumnDescription = "备注")]
public string? Remark { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(ColumnName = "createtime", ColumnDescription = "创建时间")]
public DateTime CreateTime { get; set; }
/// <summary>
/// 创建人
/// </summary>
[SugarColumn(ColumnName = "createuser", ColumnDescription = "创建人")]
public string? CreateUser { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[SugarColumn(ColumnName = "updatetime", ColumnDescription = "更新时间")]
public DateTime UpdateTime { get; set; }
/// <summary>
/// 更新人
/// </summary>
[SugarColumn(ColumnName = "updateuser", ColumnDescription = "更新人")]
public string? UpdateUser { get; set; }
}
}