using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace BookingWeb.DB.Model { [Table("OP_SEND_MAIL")] public class OP_SEND_MAIL { public OP_SEND_MAIL() { this.CREATE_TIME = DateTime.Now; this.STATUS = SendMailStatus.Create.ToString(); this.TITLE = string.Empty; this.BODY = string.Empty; this.SEND_TO = string.Empty; this.CC_TO = string.Empty; this.BODY_TYPE = SendMailBodyType.Text.ToString(); } [Key] public string GID { get; set; } public string TITLE { get; set; } public string SEND_TO { get; set; } public string CC_TO { get; set; } public string BODY { get; set; } public string BODY_TYPE { get; set; } public string STATUS { get; set; } public DateTime CREATE_TIME { get; set; } public DateTime? SEND_TIME { get; set; } public int TRY_COUNT { get; set; } public string CLIENT_ID { get; set; } } }