using FreeSql.DataAnnotations;
namespace FATrace.Model
{
///
/// OEM原料使用信息
///
[Table(Name = "OEMRawUse")]
public class OEMRawUse
{
///
/// 主键
///
[Column(IsPrimary = true, IsIdentity = true)]
public long Id { get; set; }
///
/// 内袋二维码
///
[Column(Name = "InBagCode", IsNullable = false, StringLength = 100)]
public string? InBagCode { get; set; }
///
/// 原料名称
///
[Column(Name = "InBagCode", IsNullable = false, StringLength = 100)]
public string? RawName{ get; set; }
///
/// 视频链接
///
[Column(Name = "VideoUrl", IsNullable = false, StringLength = 100)]
public string? VideoUrl{ get; set; }
///
/// 用户信息
///
[Column(Name = "User", IsNullable = false, StringLength = 100)]
public string? User { get; set; }
///
/// URl状态
///
[Column(Name = "UrlState", IsNullable = false)]
public bool UrlState { get; set; }
/////
///// 视频信息
/////
//[Column(Name = "User", IsNullable = false, StringLength = 100)]
//public VideoAction? VideoAction { get; set; }
///
/// 创建时间
///
[Column(ServerTime = DateTimeKind.Local, CanUpdate = true)]
public DateTime CreateTime { get; set; }
///
/// ///////////////////////////////////////////导航属性 LIN 一对一///////////////////////////////////////////////////////
///
public long VideoActionId { get; set; } // 外键字段,必要
///
/// 视频信息
///
public VideoAction? VideoAction { get; set; }
}
}