1
wbc
3 天以前 00cbdfb287bcbb6d833c1298fb86b9ad6dab359b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using SqlSugar;
 
namespace MES.Service.Modes;
 
/// <summary>
/// </summary>
[Table("MES_QA_ITEM")]
[SugarTable("MES_QA_ITEM")] //用于SqlSugar
public class MesQaItem
{
    /// <summary>
    ///     对应序列SEQ_QA
    /// </summary>
    [Key]
    [Column("ID")]
    [SugarColumn(ColumnName = "ID")] //用于SqlSugar
    public decimal? Id { get; set; }
 
    /// <summary>
    ///     物料编号
    /// </summary>
    [Column("ITEM_NO")]
    [SugarColumn(ColumnName = "ITEM_NO")] //用于SqlSugar
    [StringLength(50, ErrorMessage = "物料编号长度不能超出50")]
    public string? ItemNo { get; set; }
 
    /// <summary>
    ///     主表id
    /// </summary>
    [Column("QID")]
    [SugarColumn(ColumnName = "QID")] //用于SqlSugar
    public decimal? Qid { get; set; }
}