demo20230512/Models/UserAccountType.cs

32 lines
762 B
C#
Raw Permalink Normal View History

2023-05-12 10:20:28 +08:00
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
namespace Weee.Models
{
public class UserAccountType
{
[Key]
public int ID { get; set; }
public string UserId { get; set; }
//0: 免費, 1: 組織型, 2: 產品型
public int AccountType { get; set; }
//null則代表舊帳號
public DateTime StartTime { get; set; }
//null則代表目前方案無限持續續約
public DateTime EndTime { get; set; }
//是否為啟用區間
public bool Enabled { get; set; }
}
}