101 lines
3.0 KiB
C#
101 lines
3.0 KiB
C#
using FreeSql.DataAnnotations;
|
||
|
||
namespace FATrace.Model
|
||
{
|
||
/// <summary>
|
||
/// OEM原料使用信息
|
||
/// </summary>
|
||
[Table(Name = "OEMRawUse")]
|
||
public class OEMRawUse
|
||
{
|
||
/// <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 = "RawName", IsNullable = false, StringLength = 100)]
|
||
public string? RawName{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 原料条码
|
||
/// </summary>
|
||
[Column(StringLength = 100, IsNullable = false)]
|
||
public string? RawCode { get; set; }
|
||
|
||
/// <summary>
|
||
/// Video 开始时间(默认当前时间 - 30秒)
|
||
/// </summary>
|
||
[Column(IsNullable = false)]
|
||
public DateTime VideoStartTime { get; set; }
|
||
|
||
/// <summary>
|
||
/// Video 结束时间(默认当前时间)
|
||
/// </summary>
|
||
[Column(IsNullable = false)]
|
||
public DateTime VideoEndTime { get; set; }
|
||
|
||
/// <summary>
|
||
/// 视频本地保存路径
|
||
/// </summary>
|
||
[Column(Name = "VideoFilePath", IsNullable = false, StringLength = 500)]
|
||
public string? VideoFilePath { get; set; }
|
||
|
||
/// <summary>
|
||
/// 视频名称
|
||
/// </summary>
|
||
[Column(Name = "VideoName", IsNullable = false, StringLength = 100)]
|
||
public string? VideoName { get; set; }
|
||
|
||
///// <summary>
|
||
///// 视频链接
|
||
///// </summary>
|
||
//[Column(Name = "VideoUrl", IsNullable = false, StringLength = 500)]
|
||
//public string? VideoUrl{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 用户信息
|
||
/// </summary>
|
||
[Column(Name = "User", IsNullable = false, StringLength = 100)]
|
||
public string? User { get; set; }
|
||
|
||
///// <summary>
|
||
///// URl状态
|
||
///// </summary>
|
||
//[Column(Name = "UrlState", IsNullable = false)]
|
||
//public bool UrlState { get; set; }
|
||
|
||
///// <summary>
|
||
///// 视频信息
|
||
///// </summary>
|
||
//[Column(Name = "User", IsNullable = false, StringLength = 100)]
|
||
//public VideoAction? VideoAction { get; set; }
|
||
|
||
/// <summary>
|
||
/// 创建时间
|
||
/// </summary>
|
||
[Column(ServerTime = DateTimeKind.Local, CanUpdate = true)]
|
||
public DateTime CreateTime { get; set; }
|
||
|
||
///// <summary>
|
||
///// ///////////////////////////////////////////导航属性 LIN 一对一///////////////////////////////////////////////////////
|
||
///// </summary>
|
||
//public long VideoActionId { get; set; } // 外键字段,必要
|
||
|
||
///// <summary>
|
||
///// 视频信息
|
||
///// </summary>
|
||
//public VideoAction? VideoAction { get; set; }
|
||
|
||
}
|
||
}
|