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.
|
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
namespace SlnMesnac.Model.domain
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 使用过的条码记录(一旦成品或半成品就从tmpsnpid导入dipsn)
|
|
|
|
|
|
///</summary>
|
|
|
|
|
|
[SugarTable("dipsn")]
|
|
|
|
|
|
public class Dipsn
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 备 注:
|
|
|
|
|
|
/// 默认值:
|
|
|
|
|
|
///</summary>
|
|
|
|
|
|
[SugarColumn(ColumnName="id" ,IsPrimaryKey = true,IsIdentity = true) ]
|
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 备 注:条码
|
|
|
|
|
|
/// 默认值:
|
|
|
|
|
|
///</summary>
|
|
|
|
|
|
[SugarColumn(ColumnName="sn" ) ]
|
|
|
|
|
|
public string? Sn { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 备 注:产品码
|
|
|
|
|
|
/// 默认值:
|
|
|
|
|
|
///</summary>
|
|
|
|
|
|
[SugarColumn(ColumnName="productid" ) ]
|
|
|
|
|
|
public string? Productid { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 备 注:产品类别:0-暂空,1-从主线下来的完成品,2-半成品,5-已被装配到主线上的半成品
|
|
|
|
|
|
/// 默认值:
|
|
|
|
|
|
///</summary>
|
|
|
|
|
|
[SugarColumn(ColumnName="type" ) ]
|
|
|
|
|
|
public int Type { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 备 注:SN使用时间。产品完成时间
|
|
|
|
|
|
/// 默认值:
|
|
|
|
|
|
///</summary>
|
|
|
|
|
|
[SugarColumn(ColumnName="stime" ) ]
|
|
|
|
|
|
public DateTime? Stime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|