You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

32 lines
769 B

using FreeSql.DataAnnotations;
namespace Znyc.CloudCar.Model.Entities
{
/// <summary>
/// 用户收藏信息表
/// </summary>
[Table(Name = "collection")]
public class CollectionEntity : EntityBase
{
/// <summary>
/// 用户Id
/// </summary>
public long UserId { get; set; }
/// <summary>
/// 产品Id
/// </summary>
public long EquipmentId { get; set; }
/// <summary>
/// 状态
/// </summary>
public int State { get; set; }
/// <summary>
/// 收藏时间
/// </summary>
[Column(Position = -1, ServerTime = DateTimeKind.Local)]
public DateTime CollectionTime { get; set; }
}
}