using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WCS.Model.ApiModel.OutStore;

namespace WCS.BLL.DbModels
{
    [SugarTable("wcs_app_version")]
    public class AppVersion
    {
        /// <summary>
        /// 主键 自增Id
        /// </summary>
        [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsNullable = false, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// APP文件名称
        /// </summary>           
        [SugarColumn(ColumnName = "app_name", Length = 100, IsNullable = false, ColumnDescription = "APP文件名称")]
        public string AppName { get; set; }

        /// <summary>
        /// 版本号
        /// </summary>           
        [SugarColumn(ColumnName = "version", Length = 100, IsNullable = false, ColumnDescription = "版本号")]
        public string Version { get; set; }


        /// <summary>
        /// 更新内容
        /// </summary>           
        [SugarColumn(ColumnName = "content", Length = 250, IsNullable = true, ColumnDescription = "更新内容")]
        public string Content { get; set; }


        /// <summary>
        /// 操作时间
        /// </summary>           
        [SugarColumn(ColumnName = "operate_time", IsNullable = false, ColumnDescription = "操作时间")]
        public DateTime OperateTime { get; set; } = DateTime.Now;
    }
}
