47 lines
1.2 KiB
C#
47 lines
1.2 KiB
C#
using FreeSql.DataAnnotations;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace FATrace.Model
|
|
{
|
|
/// <summary>
|
|
/// 每日的产量计数
|
|
/// </summary>
|
|
[Table(Name = "DayCount")]
|
|
public class DayCount
|
|
{
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
[Column(IsPrimary = true, IsIdentity = true)]
|
|
public long Id { get; set; }
|
|
|
|
///// <summary>
|
|
///// 内袋二维码
|
|
///// </summary>
|
|
//[Column(Name = "InBagCode", IsNullable = false, StringLength = 100)]
|
|
//public string? InBagCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 当前的产量
|
|
/// </summary>
|
|
[Column(Name = "Count")]
|
|
public int Count { get; set; }
|
|
|
|
/// <summary>
|
|
/// 日期
|
|
/// </summary>
|
|
[Column(Name = "DayInfo", IsNullable = false, StringLength = 20)]
|
|
public string? DayInfo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[Column(ServerTime = DateTimeKind.Local, CanUpdate = true)]
|
|
public DateTime UpdateTime { get; set; }
|
|
}
|
|
}
|