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

90 lines
2.3 KiB
C#

using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;
namespace djy.Model {
[JsonObject(MemberSerialization.OptIn), Table(Name = "msk_subscribe_template", DisableSyncStructure = true)]
public partial class MskSubscribeTemplate {
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string GID { get; set; }
[JsonProperty]
public bool AlertMail { get; set; } = false;
[JsonProperty]
public bool AlertMinPrice { get; set; } = false;
[JsonProperty]
public bool AlertOffline { get; set; } = true;
[JsonProperty]
public bool AlertOnline { get; set; } = true;
[JsonProperty]
public bool AlertPriceDown { get; set; } = true;
[JsonProperty]
public bool AlertPriceUp { get; set; } = true;
[JsonProperty]
public bool AlertTemplateMessage { get; set; } = false;
[JsonProperty]
public DateTime CalculationDate { get; set; }
[JsonProperty]
public DateTime? ChargeTo { get; set; }
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime CreateDate { get; set; }
[JsonProperty, Column(DbType = "varchar(128)", IsNullable = false)]
public string DeparturePort { get; set; }
[JsonProperty, Column(DbType = "varchar(128)", IsNullable = false)]
public string Destinationport { get; set; }
[JsonProperty]
public bool Enable { get; set; } = true;
[JsonProperty]
public DateTime? EnableTime { get; set; }
[JsonProperty]
public DateTime? LastSend { get; set; }
[JsonProperty, Column(DbType = "varchar(500)")]
public string MailTo { get; set; }
[JsonProperty]
public DateTime? ModifyTime { get; set; }
[JsonProperty, Column(DbType = "varchar(256)", IsNullable = false)]
public string ProductName { get; set; }
[JsonProperty, Column(DbType = "varchar(200)")]
public string Remark { get; set; }
[JsonProperty]
public int SendDelay { get; set; } = 30;
[JsonProperty, Column(DbType = "varchar(20)")]
public string SubscribeCode { get; set; }
[JsonProperty, Column(DbType = "varchar(100)")]
public string TemplateMessageTo { get; set; }
[JsonProperty, Column(DbType = "varchar(36)", IsNullable = false)]
public string UserId { get; set; }
}
}